A Listener is a generic network listener for stream-oriented protocols.
Multiple goroutines may invoke methods on a Listener simultaneously.
Accept waits for and returns the next connection to the listener.
Addr returns the listener's network address.
Close closes the listener. Any blocked Accept operations will be unblocked and return errors.
Generated using TypeDoc
A Listener is a generic network listener for stream-oriented protocols.
Multiple goroutines may invoke methods on a Listener simultaneously.