UdpSocket

Constructors

this
this(EventLoop loop, AddressFamily amily)
Undocumented in source.

Members

Functions

bind
UdpSocket bind(string ip, ushort port)
Undocumented in source. Be warned that the author may not have intended to support it.
bind
UdpSocket bind(Address address)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
UdpSocket connect(Address addr)
Undocumented in source. Be warned that the author may not have intended to support it.
enableBroadcast
UdpSocket enableBroadcast(bool flag)
Undocumented in source. Be warned that the author may not have intended to support it.
onRead
void onRead()
Undocumented in source. Be warned that the author may not have intended to support it.
onReceived
UdpSocket onReceived(UdpDataHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
sendTo
ptrdiff_t sendTo(const(void)[] buf, Address to)
Undocumented in source. Be warned that the author may not have intended to support it.
sendTo
ptrdiff_t sendTo(const(void)[] buf)
Undocumented in source. Be warned that the author may not have intended to support it.
sendTo
ptrdiff_t sendTo(const(void)[] buf, SocketFlags flags, Address to)
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta