summaryrefslogtreecommitdiff
path: root/listener.go
diff options
context:
space:
mode:
authoratanarjuat <atanarjuat@example.org>2022-05-23 09:18:50 +0000
committeratanarjuat <atanarjuat@example.com>2022-05-23 11:19:27 +0200
commitce4b0fb6fb69ffc61bc4fb21b508a6a23b811d55 (patch)
treec6372cce3052448aa48a48a03a7bc2660e004159 /listener.go
parent0da16a351753eb1bd9b807a01d1b419711226b70 (diff)
add kcp
Diffstat (limited to 'listener.go')
-rw-r--r--listener.go1
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