vibe.d beta banner
get vibe.d
0.7.31

Function UDPConnection.connect

Locks the UDP connection to a certain peer.

abstract void connect (
  string host,
  ushort port
);

abstract void connect (
  NetworkAddress address
);

Once connected, the UDPConnection can only communicate with the specified peer. Otherwise communication with any reachable peer is possible.

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.