--- libaitio/src/sock.c 2013/09/02 11:16:27 1.3 +++ libaitio/src/sock.c 2013/09/02 11:56:32 1.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: sock.c,v 1.3 2013/09/02 11:16:27 misho Exp $ +* $Id: sock.c,v 1.4 2013/09/02 11:56:32 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -261,6 +261,8 @@ ioAcceptSocket(sock_t * __restrict s, sock_cb_t f, voi do { if (poll(pfd, 1, -1) < 1 || pfd->revents & (POLLNVAL | POLLHUP | POLLERR)) { + if (errno == EINTR) + continue; LOGERR; return -1; } else