TcpSocket.send

Send raw data to the remote peer.

This function will fail if the socket is not connected.

  1. Status send(const(void)[] data)
    class TcpSocket
    Status
    send
    (
    const(void)[] data
    )
  2. Status send(Packet packet)

Parameters

data const(void)[]

Sequence of bytes to send

Return Value

Type: Status

Status code.

Meta