vibe.d beta banner
get vibe.d
0.8.1

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

Function UDPConnection.send

Sends a single packet.

abstract void send (
  const(ubyte[]) data,
  const(NetworkAddress*) peer_address = null
) @safe;

If peer_address is given, the packet is send to that address. Otherwise the packet will be sent to the address specified by a call to connect().

Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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