Function DatagramProtocol.datagramReceived

Called when a datagram is received.

Prototype

abstract void datagramReceived(
  const(void)[] data,
  std.socket.Address address
);

Parameters

NameDescription
data is an array containing the incoming data.
address is the address of the peer sending the data; the exact format depends on the transport.

Authors

Dragos Carp

Copyright

© 2015-2016 Dragos Carp

License

Boost Software License - Version 1.0