Interface UDPMonitor
access this type via: net.UDPMonitor (provides, requires or uses)
Monitor activity over multiple non-blocking sockets.
Functions
UDPMonitor()
bool addSocket(
storeUDPServer s,
optional storeData userData)
UDPMonitor()
Create a new monitor instance.
bool addSocket(
storeUDPServer s,
optional storeData userData)
Add a socket to this monitor instance, optionally associating a data instance with it. The monitor will deliver recv and close events by default, indicating that the socket has data available for receive or that it has been closed.
Remove a socket from this monitor instance.
Wait for activity on any of the sockets in this monitor instance.