udpClient (sockets) problem.
Is it me or is the sockets implementation useless in .Net?
When using VB6 I used the winsock control to talk to a server (UDP)
When connecting to the server if the wrong port was used to program would continue but no reply would be sent. Great.. no problem.
With .Net no error is recieved when the wrong port is used and therefore when the recieve command is used (which causes the system to wait for a reply) the program stops. But seeing as a reply is never received then it never starts again.
Is the some kind of timeout that can be set for the udpclient?
Thanks Imogen