Updated include and added byte receivement

This commit is contained in:
dawidg81 2026-03-08 17:38:47 +01:00
commit 231de544ee

View file

@ -1,7 +1,7 @@
#include "Logger.hpp" #include "Logger.hpp"
#include "Socket.hpp" #include "Socket.hpp"
#include <winsock.h> #include <winsock2.h>
using namespace std; using namespace std;
@ -24,6 +24,7 @@ int main() {
* 2. Parse bytes from packet * 2. Parse bytes from packet
* 3. Put into components understandable for server * 3. Put into components understandable for server
*/ */
uint8_t buffer[131] = recv(clientSocket, buffer, sizeof(buffer), 0);
} }
return 0; return 0;