TsgcWebSocketClient › Properties › Port
TCP port used to connect to the WebSocket server.
public int Port { get; set; }
80
Defines the listening port of the remote server. Typical values are 80 for plain WebSocket (ws://) and 443 for secure WebSocket (wss://), but any port accepted by the server is allowed. Setting the URL property overwrites Port with the port parsed from the URL.
oClient = new TsgcWebSocketClient();
oClient.Host = "www.esegece.com";
oClient.Port = 2053;
oClient.TLS = true;
oClient.Active = true;