Interface UdpConnection

Represents a bound and possibly 'connected' UDP socket.

Inherits from

Properties

Name Type Description
bindAddress string Returns the address to which the UDP socket is bound.
canBroadcast bool Determines if the socket is allowed to send to broadcast addresses.

Methods

Name Description
connect Locks the UDP connection to a certain peer.
send Sends a single packet.
recv Receives a single packet.
release [inherited] Releases the ownership of the object.
acquire [inherited] Acquires the ownership of an unowned object.
isOwner [inherited] Returns true if the calling fiber owns this object

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.