diff options
author | atanarjuat <atanarjuat@example.org> | 2022-05-23 09:18:50 +0000 |
---|---|---|
committer | atanarjuat <atanarjuat@example.com> | 2022-05-23 11:19:27 +0200 |
commit | ce4b0fb6fb69ffc61bc4fb21b508a6a23b811d55 (patch) | |
tree | c6372cce3052448aa48a48a03a7bc2660e004159 /listener.go | |
parent | 0da16a351753eb1bd9b807a01d1b419711226b70 (diff) |
add kcp
Diffstat (limited to 'listener.go')
-rw-r--r-- | listener.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/listener.go b/listener.go index 70b4503..52c08fd 100644 --- a/listener.go +++ b/listener.go @@ -117,6 +117,7 @@ func (lc *ListenConfig) Listen(ctx context.Context, network, address string) (*L var err error switch network { case netKCP: + log.Println("kcp listen on", address) ln, err = kcp.Listen(address) if err != nil { return nil, err |