mirror of
https://github.com/xtaci/kcp-go.git
synced 2024-04-21 12:32:15 +00:00
upd comment
This commit is contained in:
@@ -852,7 +852,7 @@ func (l *Listener) SetReadDeadline(t time.Time) error {
|
||||
// SetWriteDeadline implements the Conn SetWriteDeadline method.
|
||||
func (l *Listener) SetWriteDeadline(t time.Time) error { return errInvalidOperation }
|
||||
|
||||
// Close stops listening on the UDP address. Already Accepted connections are not closed.
|
||||
// Close stops listening on the UDP address, and closes the socket
|
||||
func (l *Listener) Close() error {
|
||||
var once bool
|
||||
l.dieOnce.Do(func() {
|
||||
|
||||
Reference in New Issue
Block a user