F
Funke
Assume that in C#, I create a server socket (listener) and code to start
new threads with each connection using BeginAccept(). After some time,
I have three threads running, each with their own client socket
connection. If I close the listener socket, will the client sockets
also shut down? Or do I need to manually shut these down as well?
new threads with each connection using BeginAccept(). After some time,
I have three threads running, each with their own client socket
connection. If I close the listener socket, will the client sockets
also shut down? Or do I need to manually shut these down as well?