vibe.d beta banner
get vibe.d
0.7.30

Function UDPConnection.connect

Locks the UDP connection to a certain peer.

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

Prototypes

abstract void connect(
  string host,
  ushort port
);

abstract void connect(
  NetworkAddress address
);
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.