vibe.d beta banner
get vibe.d
0.7.30

Interface UDPConnection

Represents a bound and possibly 'connected' UDP socket.

Properties

Name Type Description
bindAddress [get] string Returns the address to which the UDP socket is bound.
canBroadcast [get, set] bool Determines if the socket is allowed to send to broadcast addresses.
localAddress [get] NetworkAddress The local/bind address of the underlying socket.

Methods

Name Description
close Stops listening for datagrams and frees all resources.
connect Locks the UDP connection to a certain peer.
recv Receives a single packet.
send Sends a single packet.
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.