Function listenUDP
Creates a bound UDP socket suitable for sending and receiving packets.
UDPConnection listenUDP
(
ref NetworkAddress addr,
UDPListenOptions options = UDPListenOptions .none
) @safe;
UDPConnection listenUDP
(
ushort port,
string bind_address = "0.0.0.0",
UDPListenOptions options = UDPListenOptions .none
) @safe;