[Xorp-cvs] XORP cvs commit: xorp/libcomm
Bruce Simpson
bms@icir.org
Mon, 5 Sep 2005 18:06:46 GMT
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: bms@xorpc.icir.org 2005-09-05 18:06:46 UTC
XORP CVS repository
Modified files:
libcomm comm_sock.c
Log message:
In comm_sock_is_connected(), use read(s,0,0) to check if a socket is
connected, as some implementations signal EINPROGRESS even though
the connect() has succeeded, but never return the fd as being
readable after a select().
Requested by: atanu
Revision Changes Path
1.26 +11 -1; commitid: 61cf431c89287ea6; xorp/libcomm/comm_sock.c