Chat freely about anything...

User avatar
By helpme
#45028 I am able to establish a TCP connection as a client to a remote server using the SMING framework. The code for initiating client connection to server is simple.

Code: Select alltcpClient.connect(SERVER_HOST, SERVER_PORT);


Unfortunately, the connection will close after idling for some time. I would like to keep this connection open forever permanently. How can this be done?