MAX_COMMAND_SIZE
char recvspace[MAX_COMMAND_SIZE + 1];
int r = recv(cs->socket, recvspace, MAX_COMMAND_SIZE, MSG_PEEK);