Datagram.write

Write an array to the specified address. If address 'to' is null, it is assumed the socket has been connected instead.

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

  1. size_t write(const(void)[] src)
  2. size_t write(const(void)[] src, Address to)
    class Datagram
    write
    (
    const(void)[] src
    ,)

Meta