Method EventDriver.listenUdp

Creates a new UDP socket and sets the specified address/port as the destination for packets.

If a bind port is specified, the socket will be able to receive UDP packets on that port. Otherwise, a random bind port is chosen.

Prototype

UdpConnection listenUdp(
  ushort ,
  string 
);

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

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