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.
recv Receives a single packet.
send Sends a single packet.
acquire Acquires the ownership of an unowned object.
amOwner Returns true if the calling fiber owns this object
release Releases the ownership of the object.

Aliases

Name Description
isOwner Compatibility alias, will be deprecated soon.

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.