vibe.d beta banner
get vibe.d
0.7.30

Function UDPConnection.send

Sends a single packet.

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().

Prototype

abstract void send(
  const(ubyte[]) data,
  const(NetworkAddress*) peer_address = null
);
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.