UdpSocket.dispose

void dispose() @trusted nothrow

Dispose the socket and its watcher registration.

Idempotent (TERMINOLOGY.md). Equivalent to close(). **No callbacks fire after dispose() returns.**