Method UdpConnection.recv

Receives a single packet.

If a buffer is given, it must be large enough to hold the full packet.

Prototypes

ubyte[] recv(
  ubyte[] buf,
  NetworkAddress* peer_address
);

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.