c# - Manage opend connections on TCP server -


I have a TCP server application that is listening for incoming connections to establish connections and send / receive some Later I want to close the connection with the server. For the first time the server successfully closed the connection, but the client can not make another connection, or it prevents it. But if I close the connection to the client then the program works normally and many requests can be made. The TCP server has been developed with the code in the following address and the client needs to open synchronous connection to send / receive the server

How do I connect to server side Can I turn off or can I manage the server's open connection to release unwanted resources?


Comments