diff --git a/punchd.nim b/punchd.nim index 76ee84e..db78b8b 100644 --- a/punchd.nim +++ b/punchd.nim @@ -77,6 +77,7 @@ proc main() = removeFile("/tmp/punchd.socket") let unixSocket = newAsyncSocket(AF_UNIX, SOCK_STREAM, IPPROTO_IP) unixSocket.bindUnix("/tmp/punchd.socket") + unixSocket.listen() asyncCheck handleUsers(unixSocket) runForever()