Code cleanup

This commit is contained in:
Tristan B. Kildaire 2020-12-20 18:15:02 +02:00
parent 0da2a73226
commit eee69dcbac
1 changed files with 1 additions and 2 deletions

View File

@ -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 */