Reusing a socket
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I'd like to know why after calling _tcpClient.Client.LingerState = new LingerOption(false, 0); _tcpClient.Client.Shutdown(SocketShutdown.Both); _tcpClient.Client.Disconnect(true); , when I try to connect again, I get a Socket already connected exception. I dont know what else to try, please help!