Sunday, 15 June 2014

c# - how to listen to UDP broadcast? -


I have some servers that use UDP Broadcast to send information to my application.
I know that the server sends its information to Ip address 225.225.1.5 Port 8811 but I do not know how to hear it.

Any help please ...

thanks

What is your server platform? There are php, perl, sh and i am sure c # / .net code which can listen.

P> You can try on windows:

  netstat -an | Find "UDP" | More  

You can get an output like this:

  UDP 0.0.0.0:1234 *: * UDP 0.0.0.0-1235 *: * UDP 0.0.0.0: 1236 *: * UDP 0.0.0.0:1237 *: * UDP 0.0.0.0:1238 *: * UDP 0.0.0.0-1239 *: *  

Feel free to GP

is running:

  netstat-a-p UDP-b  

to determine which links are connected to those ports Can be helpful.

This is really helpful:

  C: \ EchoTool> Echotool / p udp / s 8811  

No comments:

Post a Comment