From 568b6e6739b55485fe920f22cc9376ffc6614372 Mon Sep 17 00:00:00 2001 From: afonso Date: Sat, 20 Apr 2024 17:34:45 +0100 Subject: [PATCH] [PD1] Added server's TODOS --- Projs/PD1/internal/server/server.go | 5 +++++ Projs/PD1/server.db | Bin 40960 -> 45056 bytes 2 files changed, 5 insertions(+) diff --git a/Projs/PD1/internal/server/server.go b/Projs/PD1/internal/server/server.go index e4d6474..1f8def5 100644 --- a/Projs/PD1/internal/server/server.go +++ b/Projs/PD1/internal/server/server.go @@ -6,6 +6,11 @@ import ( "PD1/internal/utils/networking" ) +//TODO: CREATE SERVER SIDE CHECKS FOR EVERYTHING +//TODO: LOGGING SYSTEM +//TODO: TELL THE USER THAT THE MESSAGE HAS BEEN RECEIVED BY THE SERVER +//TODO: ERROR PACKET TO SEND BACK TO USER + func clientHandler(connection networking.Connection[protocol.Packet], dataStore DataStore) { defer connection.Conn.Close() diff --git a/Projs/PD1/server.db b/Projs/PD1/server.db index 3784ec98eb700789457acedb5eadc3cf839188db..e4212f7faea935ea26f6e1f6f5e3d0a7016810de 100644 GIT binary patch delta 2292 zcmVvT%6^0S1$LM;?DNGdeOfE;lkVGch?UFflqXFa`nunZf4W z^mCAk4p=$FY34KsSOBL8W!>nB0SJlNO=t*w1K<}cf+ltBH4Ipgemf2+mDQ_G9v|gC zueO2OEk>N6r^q?yItV^{mh&m;fcNQ-EjcBSzQphcyX4J|`%Trzrd5EoFWIpTOiq7> z43>0w9y2yu+ubFcC&aNx9r)&vqEavypXa_B!dw>_sa7?D<``PI+mN zkbZbHnN^sajl`~}a!qf;_W^pC3`)Y}m#p{%NGF5J1^{rvnVN)xlq-3m7(rBv4>a+| z8P2cEsyotOw7?+p?1PB0UG~l zgfmBU8BCcK7vpob-(qSLlmj%n<=bINd~@r5TY5IVZe@AmD}cb= zct41aDwP4vH?`G)&utN9R>2+UmZqdw{g@r$pWJ}4J7SinSHR`<@=5?hIgLqX`fdf- z_#f%#+&GRI6GyKgp^zWS=_fR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