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

void send(
  const(ubyte[]) data,
  const(NetworkAddress*) peer_address
) abstract;

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.