vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Function listenUDP

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

UDPConnection listenUDP (
  ref NetworkAddress addr
) @safe;

UDPConnection listenUDP (
  ushort port,
  string bind_address = "0.0.0.0"
) @safe;
Authors

Sönke Ludwig

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.