The following code sends a packet on port 15000:
int port = 15000; UdpClient udp = new UdpClient(); //udp.EnableBroadcast = true; //This was suggested in a
There is actually a very good UDP example of a server and listener on MSDN: Simple UDP example