From owner-cvs-all Sat Jun 23 12:43:26 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 58AA337B401; Sat, 23 Jun 2001 12:43:22 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5NJhMs51486; Sat, 23 Jun 2001 12:43:22 -0700 (PDT) (envelope-from iedowse) Message-Id: <200106231943.f5NJhMs51486@freefall.freebsd.org> From: Ian Dowse Date: Sat, 23 Jun 2001 12:43:22 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include/rpc clnt.h src/lib/libc/rpc clnt_dg.c rpc_clnt_create.3 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2001/06/23 12:43:22 PDT Modified files: include/rpc clnt.h lib/libc/rpc clnt_dg.c rpc_clnt_create.3 Log: Add a new clnt_control() request `CLSET_CONNECT' that controls whether or not connect(2) is used for UDP client sockets. The default is not to connect(), so existing clients will see no change in behaviour. The use of connect(2) for UDP clients has a number of advantages: only replies from the intended address are received, and ICMP errors pertaining to the connection are reported back to the application. Revision Changes Path 1.14 +2 -1 src/include/rpc/clnt.h 1.7 +27 -5 src/lib/libc/rpc/clnt_dg.c 1.3 +2 -1 src/lib/libc/rpc/rpc_clnt_create.3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message