TcpListener.close

void close() @trusted nothrow

Close the listener.

Idempotent. Pending onAccept callbacks will not fire after close.