Okay, so I've been trying to create a UDP Server (I've got the TCP one done but I need both for my project). However, whenever using the following code:
UdpClient whatever = new UdpClient(11000);
I always get a SocketException with any port number (not just 11000), unless I don't specify a port at all. This won't work for me because I need to have it specifically on one port only.
I've even copied/pasted the Microsoft example (http://msdn.microsoft.com/en-us/library/system.net.sockets.udpclient.aspx) into a new project and tried it, and it compiles fine but I still get a socketexception with no explanation when initialising the UdpClient with a port.
Any ideas? This is doing my head in...