From eee69dcbac326eaa56d8dffeb58619297d7a040e Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Sun, 20 Dec 2020 18:15:02 +0200 Subject: [PATCH] Code cleanup --- source/dnetd/dlistener.d | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/dnetd/dlistener.d b/source/dnetd/dlistener.d index 3613def..c9b0cd0 100644 --- a/source/dnetd/dlistener.d +++ b/source/dnetd/dlistener.d @@ -42,7 +42,6 @@ public final class DListener : Thread /* Create the Socket and bind it */ serverSocket = new Socket(addressInfo); - // serverSocket = new Socket(AddressFamily.INET, SocketType.STREAM, ProtocolType.TCP); serverSocket.bind(address); gprintln("New listener started with address "~to!(string)(addressInfo)); @@ -52,7 +51,7 @@ public final class DListener : Thread private void dequeueLoop() { - gprintln("Starting dequeue loop. on socket "~to!(string)(serverSocket)~"..."); + gprintln("Starting dequeue loop..."); /* Start accepting-and-enqueuing connections */ serverSocket.listen(0); /* TODO: Linux be lile, hehahahhahahah who gives one - I give zero */