No subject



Thu Sep 2 02:34:40 2004
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Wed, 01 Sep 2004 19:35:01 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.11/8.12.8) with ESMTP id i822Z1eU087060
	for <atanu@tigger.icir.org>; Wed, 1 Sep 2004 19:35: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.9p1/8.12.8) with ESMTP id i822Z1Ru062297
	for <atanu@icir.org>; Wed, 1 Sep 2004 19:35: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 i822Z1kf020893;
	Wed, 1 Sep 2004 19:35:01 -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 i822Yfkf020881
	for <xorp-cvs@icsi.berkeley.edu>; Wed, 1 Sep 2004 19:34:41 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id i822YfRu062290
	for <xorp-cvs@icir.org>; Wed, 1 Sep 2004 19:34:41 -0700 (PDT)
	(envelope-from pavlin@icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.9p1/8.12.8) with ESMTP id i822Ye8M048843
	for <xorp-cvs@icir.org>; Wed, 1 Sep 2004 19:34:40 -0700 (PDT)
	(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
	by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id i822YeIe048842
	for xorp-cvs@icir.org; Thu, 2 Sep 2004 02:34:40 GMT
	(envelope-from pavlin)
Date: Thu, 2 Sep 2004 02:34:40 GMT
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200409020234.i822YeIe048842@xorpc.icir.org>
To: xorp-cvs@icir.org
X-XORP-CVS-Branch: HEAD
Subject: [Xorp-cvs] XORP cvs commit: xorp/libcomm
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	2004-09-02 02:34:40 UTC

XORP CVS repository


Modified files:
	libcomm       comm_api.h comm_sock.c comm_user.c test_comm.c 

Log message:
	* Add is_blocking flag argument to number of functions to indicate
	  whether the socket should be blocking or non-blocking
	* Defined new flags COMM_SOCK_BLOCKING and COMM_SOCK_NONBLOCKING
	* Rename flag  ADDR_PORT_REUSE_FLAG to COMM_SOCK_ADDR_PORT_REUSE,
	  and define a new flag COMM_SOCK_ADDR_PORT_DONTREUSE
	* Refactor the implementation of comm_sock_connect4 and comm_sock_connect6
	  such that we do check the return value of connect():
	  - if the socket is blocking, and if connect() fails, then we return
	    success.
	  - if the socket is non-blocking, and if connect() fails, but the
	    failure error is EINPROGRESS (i.e., the connection cannot be
	    completed immediately), then we return success; for all
	    other errors of connect(), we return failure.

Revision  Changes    Path
1.9       +71 -27    xorp/libcomm/comm_api.h
1.10      +48 -37    xorp/libcomm/comm_sock.c
1.7       +68 -35    xorp/libcomm/comm_user.c
1.6       +8 -6      xorp/libcomm/test_comm.c
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs