Drstein99
Junior Contributor
I'm using a thread to listen for new tcpclients. It looks like the operation just sits idle and waits for new connections and then continues.
How can i gracefully halt a "listener.AcceptTcpClient" operation?
--------------
Also, I am finding throughout the program, i can't stop or re/start the listener socket its throwing exception 10048 "WSAEADDRINUSE" - which means that address is in use by another listener.
how can i grab ahold of the original one and / or shut it down, dispose, finalize, etc....?
How can i gracefully halt a "listener.AcceptTcpClient" operation?
--------------
Also, I am finding throughout the program, i can't stop or re/start the listener socket its throwing exception 10048 "WSAEADDRINUSE" - which means that address is in use by another listener.
how can i grab ahold of the original one and / or shut it down, dispose, finalize, etc....?
Last edited: