From 8fa85dffc8e8a0c632f84e0206f1246c417816cd Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Sun, 8 Mar 2026 17:46:14 +0100 Subject: [PATCH] Updated main.cpp --- src/main.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 81c1f4d..3d4422f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,10 +20,11 @@ int main() { SOCKET clientSocket = socket.winAccept(); if(clientSocket == INVALID_SOCKET) continue; /* + * This is where client handling starts. * RECEIVING CLIENT PACKET - * 1. Receive raw bytes - * 2. Parse bytes from packet - * 3. Put into components understandable for server + * 1. Receive raw bytes, + * 2. Parse bytes from packet, + * 3. Put into components understandable for server. */ char buffer[131] = {}; buffer[0] = recv(clientSocket, buffer, sizeof(buffer), 0);