Back to FlowSsh Documentation

ClientSessionChannel - Create

[C]

FlowSshC_ClientSessionChannel* __cdecl FlowSshC_ClientSessionChannel_Create(FlowSshC_Client* client);

[C++]

[ClientSessionChannel] ClientSessionChannel(RefPtrConst<Client> const& client);

[C#]

[ClientSessionChannel] public ClientSessionChannel(Client client);

[C] Return Value

A FlowSshC_ClientSessionChannel* which represents the newly created session-channel. May return NULL on fatal errors (after the fatal error handler is called).

Remarks

Creates a new session-channel and associates it with the given client. Channels can be created even if the client is not yet connected.
[C/Cpp] A channel keeps the associated client alive throughout its lifetime.