klyn.net.Socket.sendBytes
method
public sendBytes(data as Byte[]) as Int throws IOException:
Description

Sends raw bytes to the peer.

Returns

Number of bytes written.

Throws
  • IOException if the socket stream is closed, disconnected, times out, or the underlying network I/O fails.