DatagramProtocol.datagramReceived

Called when a datagram is received.

interface DatagramProtocol
void
datagramReceived
(
const(void)[] data
,
Address address
)

Parameters

data const(void)[]

is an array containing the incoming data.

address Address

is the address of the peer sending the data; the exact format depends on the transport.

Meta