TsgcTCPClient › Properties › Host
IP address or DNS name of the TCP server the client will connect to.
property Host: String read FHost write FHost;
(empty string)
Set Host together with Port to specify the remote endpoint. Host accepts either an IPv4/IPv6 address or a DNS name; the resolver used depends on IPVersion. No WebSocket handshake is negotiated once the socket is open — the client reads and writes raw TCP (or TLS) bytes.
oTCP := TsgcTCPClient.Create(nil);
oTCP.Host := 'www.esegece.com';
oTCP.Port := 2053;
oTCP.TLS := true;
oTCP.Active := true;