diff -r 1891d88cbd10 -r e14a1d9aa91d src/game.c --- a/src/game.c Thu Apr 17 11:41:02 2014 +0200 +++ b/src/game.c Thu Apr 17 11:55:36 2014 +0200 @@ -327,12 +327,6 @@ static int recvmove(GameState *gamestate, GameInfo *gameinfo, int opponent) { - if (net_setnonblocking(opponent, 1)) { - printw("Cannot setup nonblocking IO on network socket"); - cbreak(); getch(); - exit(EXIT_FAILURE); - } - struct timeval timeout; while (1) { timecontrol(gamestate, gameinfo); @@ -402,6 +396,9 @@ } else { net_send_code(opponent, NETCODE_DECLINE); } + break; + default: + printw("\nInvalid network request."); } } }