AbstractDatagramSocket

UDP Socket

Constructors

this
this(Selector loop, AddressFamily family, int bufferSize)
Undocumented in source.

Members

Functions

bind
void bind(Address addr)
Undocumented in source. Be warned that the author may not have intended to support it.
bindAddr
Address bindAddr()
Undocumented in source. Be warned that the author may not have intended to support it.
isBind
bool isBind()
Undocumented in source. Be warned that the author may not have intended to support it.
onWriteDone
void onWriteDone()
Undocumented in source. Be warned that the author may not have intended to support it.
tryRead
bool tryRead(ReadCallBack read)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_bindAddress
Address _bindAddress;
Undocumented in source.
_binded
bool _binded;
Undocumented in source.
_readBuffer
UdpDataObject _readBuffer;
Undocumented in source.

Inherited Members

From AbstractSocketChannel

_family
AddressFamily _family;
Undocumented in source.
socket
Socket socket [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
socket
Socket socket [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
__anonymous
mixin ChannelSocketOption
Undocumented in source.
setRead
void setRead(size_t bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
readLen
size_t readLen;
Undocumented in source.
start
void start()
Undocumented in source.
onWriteDone
void onWriteDone()
Undocumented in source. Be warned that the author may not have intended to support it.
_socket
Socket _socket;
Undocumented in source.

Meta