Just playing with udp, was going to make two console apps, one to send a message the other to receive.

The example found under "UdpClient.Receive Method", just copied and pasted into an empty class, always gives me a SocketException: An invalid argument was supplied.

Can someone tell me what I'm missing?

Thanks,
Mike