Setting a timeout
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a Socket which is binded to a local UDP endpoint. When recieving data using the Recieve() funtion, the host may timeout and my program just sits there. Any idea on how to set a timeout ? I remember java having a method to do it which throws an exception if the timeout occours. Any ideas people ? Cheers