Auto reconnect TCPclient

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, is there any ways to make the tcpclient auto reconnect to the server when
it's disconnected ?
 
AFAIK no.

You can write class that will inherit from TcpClient and will provide
reconnect functionality...
Also the behavoir of new class will depend on the disconnect circumstances:
- will it reconnect, if server gracefully performed shutdown?
- how many reconnections must be performed?
etc
 
Back
Top