TsgcTCPClient › Properties › BoundIP
Local IP address the client socket is bound to before connecting.
property BoundIP: string read FBoundIP write FBoundIP;
(empty string)
Pins the outbound connection to a specific local interface by binding the client socket to BoundIP before calling connect(). Leave empty to let the operating system pick any available interface. Combine with BoundPort, or with BoundPortMin/BoundPortMax to bind within a port range.
oTCP := TsgcTCPClient.Create(nil);
oTCP.Host := 'www.esegece.com';
oTCP.Port := 2053;
oTCP.BoundIP := '192.168.1.50';
oTCP.Active := true;