|
How advisable to use Socket.Select() with infinite wait option?
Socket.Select(IListClientRead, null, null, -2);
I am using thread for Receiving Data using select method. On first connect it works fine, but when I reconnect, the Socket.Select statements blocks forever.
Suggest a good link as a programming reference for
C#, sockets, multithreading
|
|
|
|
|
Lots of suggestions here[^].
|
|
|
|
|
Or better yet, ditch your C# sockets and go here[^]
|
|
|
|