Client - SetPort

[C]

void __cdecl FlowSshC_Client_SetPort(
  FlowSshC_Client* client,
  unsigned int port);

[C++]

[Client] void SetPort(unsigned int port);

[C#]

[ClientBase] public void SetPort(uint port);

Parameters

  • [C] client: FlowSshC_Client pointer.
  • port: The port number of the SSH server to which you are connecting.

Remarks

Use SetPort to specify a port number of the SSH server to which you are connecting. For most SSH servers, this will be port 22. However, it can also be any other valid port number between 1 and 65535, as long as that is where the SSH server is actually listening. By default, port is set to 22.