Date: Sat, 23 Jun 2001 12:43:22 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> 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 Message-ID: <200106231943.f5NJhMs51486@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106231943.f5NJhMs51486>
