diff --git a/source/connection/connection.d b/source/connection/connection.d index eb2988b..c1f1b20 100644 --- a/source/connection/connection.d +++ b/source/connection/connection.d @@ -368,15 +368,12 @@ public final class BesterConnection : Thread private JSONValue handlerRun(MessageHandler chosenHandler, JSONValue payload) { - /* TODO: Send and receive data here */ - /* Handler's UNIX domain socket */ Socket handlerSocket = chosenHandler.getNewSocket(); - - + + /* Get the payload as a string */ string payloadString = toJSON(payload); - /* Construct the data to send */ byte[] sendBuffer;