unref

fun unref()(source)

Calling unref() on a socket will allow the program to exit if this is the only active socket in the event system. If the socket is already unrefed callingunref() again will have no effect.

Since

v0.9.1

Return

The socket itself.