TsgcTCPClient

TsgcTCPClient is a TCP client component that allows connecting to plain TCP servers.

Introduction

TsgcTCPClient is a TCP client component that allows connecting to plain TCP servers. It provides support for TLS/SSL connections, proxy servers, heartbeat monitoring, automatic reconnection (WatchDog), and TCP keep-alive.

 

1. Drop a TsgcTCPClient component onto the form.

 

2. Set Host and Port (default is 80) to connect to an available TCP Server.

 

3. Set TLS to True if you require a secure connection (default is False).

 

4. Optionally configure Proxy if connecting through a proxy server.

 

5. Handle events: OnConnect, OnDisconnect, OnMessage, OnBinary, OnError, OnException.

 

6. Set Active to True to open the connection.

 

Reference