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.
OnRead
void OnRead()
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.
enableBroadcast
UdpSocket enableBroadcast(bool flag)
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.

Meta