Added TODO

This commit is contained in:
buffet 2018-10-07 12:43:21 +02:00
parent 7c212b0d2c
commit 780881ab12

View file

@ -348,6 +348,7 @@ client_fd = accept(sock_fd, NULL, 0);
if (!(client_fd < 0) && (msg_len = read(client_fd, msg, sizeof(msg))) > 0) { if (!(client_fd < 0) && (msg_len = read(client_fd, msg, sizeof(msg))) > 0) {
// Client sent something // Client sent something
msg[msg_len] = '\0'; msg[msg_len] = '\0';
// TODO: Actually handle
printf("Client sent: %s\n", msg); printf("Client sent: %s\n", msg);
close(client_fd); close(client_fd);
} else { } else {