diff --git a/src/server.c b/src/server.c index 69a1f59..039ec20 100644 --- a/src/server.c +++ b/src/server.c @@ -131,7 +131,7 @@ int main(int argc, char *argv[]) { /* Disconnect all clients before closing the server */ for (int i = 0; i < MAX_CLIENTS; i++) { - write(clients[i].sockid, "disconnect command", 0); // TODO: decide a disconnect command to send + write(clients[i].sockid, &eot, 1); disconnect_client(i); }