No subject



Wed May 11 00:32:35 2005
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Tue, 10 May 2005 17:33:01 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.11/8.12.11) with ESMTP id j4B0X1P5013921
	for <atanu@tigger.icir.org>; Tue, 10 May 2005 17:33:01 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
	by wyvern.icir.org (8.12.11/8.12.11) with ESMTP id j4B0X1Cb001213
	for <atanu@icir.org>; Tue, 10 May 2005 17:33:01 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (localhost [127.0.0.1])
	by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id j4B0X0gY009683;
	Tue, 10 May 2005 17:33:00 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id j4B0WagY009668
	for <xorp-cvs@icsi.berkeley.edu>; Tue, 10 May 2005 17:32:36 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.11/8.12.11) with ESMTP id j4B0WaOZ001206
	for <xorp-cvs@icir.org>; Tue, 10 May 2005 17:32:36 -0700 (PDT)
	(envelope-from pavlin@icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.11/8.12.11) with ESMTP id j4B0WZIW008144
	for <xorp-cvs@icir.org>; Tue, 10 May 2005 17:32:35 -0700 (PDT)
	(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
	by xorpc.icir.org (8.12.11/8.12.3/Submit) id j4B0WZHM008143
	for xorp-cvs@icir.org; Wed, 11 May 2005 00:32:35 GMT
	(envelope-from pavlin)
Date: Wed, 11 May 2005 00:32:35 GMT
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200505110032.j4B0WZHM008143@xorpc.icir.org>
To: xorp-cvs@icir.org
X-XORP-CVS-Branch: HEAD
Subject: [Xorp-cvs] XORP cvs commit: xorp/bgp xorp/fea xorp/libcomm xorp/libxipc
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>

CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2005-05-11 00:32:35 UTC

XORP CVS repository


Modified files:
	bgp           socket.cc 
	fea           click_socket.cc xrl_socket_server.cc 
	libcomm       comm_api.h comm_sock.c comm_user.c 
	libxipc       finder_tcp_messenger.cc test_finder_tcp.cc 

Log message:
	* Add a new "int *in_progress" argument to the following "high-level"
	  functions:
	
	  xsock_t comm_connect_tcp4()
	  xsock_t comm_connect_tcp6()
	  xsock_t comm_connect_udp4()
	  xsock_t comm_connect_udp6()
	  xsock_t comm_bind_connect_udp4()
	  xsock_t comm_bind_connect_udp6()
	
	  The semantic for the "in_progress" value that is filled-in on return is:
	
	  If the socket is non-blocking and the connect cannot be
	  completed immediately, then the referenced value is set to 1, and the
	  return value is the new socket. If the non-blocking socket was connected,
	  the referenced value is set to 0. If the return value is XORP_BAD_SOCKET
	  or if the socket is blocking, then the return value is undefined.
	
	* Add a new "int *in_progress" argument to the following "low-level"
	  functions:
	
	  comm_sock_connect4()
	  comm_sock_connect6()
	
	  The semantic for the "in_progress" value that is filled-in on return is:
	
	  If the socket is non-blocking and the connect cannot be
	  completed immediately, then the referenced value is set to 1, and the
	  return value is XORP_ERROR. For all other errors or if the non-blocking
	  socket was connected, the referenced value is set to 0. If the return value
	  is XORP_OK or if the socket is blocking, then the return value is undefined.
	
	* Modify all code that uses one of the above modified functions.
	  The modified code is in bgp, libxipc and fea.

Revision  Changes                                 Path
1.26      +6 -12;  commitid: 1efa428150af7ea6;    xorp/bgp/socket.cc
1.22      +3 -2;  commitid: 1efa428150af7ea6;     xorp/fea/click_socket.cc
1.23      +19 -9;  commitid: 1efa428150af7ea6;    xorp/fea/xrl_socket_server.cc
1.15      +79 -30;  commitid: 1efa428150af7ea6;   xorp/libcomm/comm_api.h
1.20      +69 -37;  commitid: 1efa428150af7ea6;   xorp/libcomm/comm_sock.c
1.17      +171 -74;  commitid: 1efa428150af7ea6;  xorp/libcomm/comm_user.c
1.24      +4 -2;  commitid: 1efa428150af7ea6;     xorp/libxipc/finder_tcp_messenger.cc
1.16      +3 -2;  commitid: 1efa428150af7ea6;     xorp/libxipc/test_finder_tcp.cc
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs