TcpSocket.send

Send a formatted packet of data to the remote peer.

This function will fail if the socket is not connected.

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

Parameters

packet Packet

Packet to send

Return Value

Type: Status

Status code.

Meta