I have several instances of a client application connecting to the main application via the Internet TcpClient. (Both are encoded by me). Thus, the connection is performed as follows:
TcpClient.Connect (ip, port)
Now I want this to handle various types of disconnect events:
So what do I need to do? Do I need to instantiate a new TcpClient in client applications when such an interrupt occurs? I have not tried this, so I don’t know, is this a bad decision?
source
share