SshTransport.write

ptrdiff_t write(const(ubyte)[] data)

Writes raw bytes to the underlying transport.

Parameters

dataThe data to write.

Returns

The number of bytes written, or a negative SshIoResult

value on error/would-block.