ClientSessionChannel - Send


__cdecl FlowSshC_ClientSessionChannel_Send(
  FlowSshC_ClientSessionChannel* channel,
  unsigned char const* data,
  unsigned int dataBytes,
  bool eof,
  FlowSshC_ProgressHandler handler,
  void* handlerData);


[ClientSessionChannel] void Send(
  Data const& data,
  bool eof,
  RefPtr<ProgressHandler> const& progress);


[ClientSessionChannel] public void Send(
  byte[] data,
  bool eof,
  ProgressHandler progress);

ClientSessionChannel] public void Send(
  byte[] data,
  int offset,
  int size,
  bool eof,
  ProgressHandler progress);


  • [C] channel: FlowSshC_ClientSessionChannel pointer.
  • [C] handler: A ProgressHandler function to be used with the request. Optional.
  • [C] handlerData: An application-defined value to be passed to the handler. Optional.
  • [C] dataBytes: The number of bytes to send (array size).
  • data: Data to send.
       In [C] an array of type unsigned char (=byte).
       In [C++] a Data object.
       In [.NET] an array of type Byte.
  • eof: Send EOF? If eof=true (end-of-file), we should send no more data over this channel. The server could still send data to us as long as the channel is open, but will usually just reply with an EOF of its own.
  • [.NET] offset: The position in the data buffer at which to begin sending data.
  • [.NET] size: The number of bytes to send.
  • [C++/.NET] progress: A ProgressHandler object to be used with the request. Optional.


Sends data to the server.