summaryrefslogtreecommitdiff
path: root/socket_factory.go
diff options
context:
space:
mode:
Diffstat (limited to 'socket_factory.go')
-rw-r--r--socket_factory.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket_factory.go b/socket_factory.go
index 70f70f30..43059e8a 100644
--- a/socket_factory.go
+++ b/socket_factory.go
@@ -25,7 +25,7 @@ type SocketFactory struct {
relays map[int]chan *goridge.SocketRelay
}
-// NewSocketFactory returns SocketFactory attached to a given socket listener.
+// NewSocketFactory returns SocketFactory attached to a given socket lsn.
// tout specifies for how long factory should serve for incoming relay connection
func NewSocketFactory(ls net.Listener, tout time.Duration) *SocketFactory {
f := &SocketFactory{