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

Bruce Simpson bms@icir.org
Tue, 26 Jul 2005 12:12:19 GMT


CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Changes by:	bms@xorpc.icir.org	2005-07-26 12:12:19 UTC

XORP CVS repository


Modified files:
	libcomm       comm_api.h comm_sock.c 

Log message:
	Diff reduction with Windows branch:
	
	Introduce a global switch _comm_squelch_accept. If this is set to a
	non-zero value, then the libcomm library will clear WinSock event
	notification masks on sockets during accept and close operations.
	
	This is done by calling WSAEventSelect() with empty arguments, which is
	documented to clear such masks.
	
	The reason for doing this is to prevent the WinSock infrastructure
	from signalling event conditions before clients of EventLoop have had
	a chance to wire up I/O event callbacks to service them.

Revision  Changes                               Path
1.20      +2 -1;  commitid: 8f3942e628087ea6;   xorp/libcomm/comm_api.h
1.24      +27 -0;  commitid: 8f3942e628087ea6;  xorp/libcomm/comm_sock.c