[Xorp-cvs] XORP cvs commit: xorp/bgp xorp/libxorp xorp/libcomm

Bruce Simpson bms@icir.org
Fri, 9 Sep 2005 16:48:55 GMT


CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Changes by:	bms@xorpc.icir.org	2005-09-09 16:48:55 UTC

XORP CVS repository


Modified files:
	bgp           socket.cc 
	libxorp       selector.cc 
	libcomm       comm_sock.c 

Log message:
	bgp/socket.cc:
	
	Back out revision 1.36.
	Rely on the event infrastructure to detect if a socket is
	connectable.
	
	libxorp/selector.cc:
	
	Map IOT_CONNECT to SEL_WR; most UNIX implementations indicate that
	a socket has been connected by overloading the meaning of the
	'writable' fd_set passed to select().
	
	Obtained from: Daniel J. Bernstein
	
	libcomm/comm_sock.c:
	
	Back out revision 1.27.
	Using read() to short-circuit the 'socket is connectable' test is
	not a reliable test.

Revision  Changes                                Path
1.37      +1 -5;  commitid: 132504321bce27ea6;   xorp/bgp/socket.cc
1.28      +1 -11;  commitid: 132504321bce27ea6;  xorp/libcomm/comm_sock.c
1.28      +2 -2;  commitid: 132504321bce27ea6;   xorp/libxorp/selector.cc