listenUDP

Creates a bound UDP socket suitable for sending and receiving packets.

  1. UDPConnection listenUDP(NetworkAddress addr)
  2. UDPConnection listenUDP(ushort port, string bind_address)
    @safe
    listenUDP
    (
    ushort port
    ,
    string bind_address = "0.0.0.0"
    )

Meta