Datagram.read

Populate the provided array from the socket. This will stall until some data is available, or a timeout occurs. We assume the datagram has been connected.

Returns the number of bytes read to the output, or Eof if the socket cannot read

  1. size_t read(void[] src)
    class Datagram
    override
    read
    (
    void[] src
    )
  2. size_t read(void[] dst, Address from)

Meta