Add a new clnt*_control CLSET_CONNECTED, which says the socket has already
authorderaadt <deraadt@openbsd.org>
Fri, 15 Jul 2022 17:33:28 +0000 (17:33 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 15 Jul 2022 17:33:28 +0000 (17:33 +0000)
commit91fc4dda8d0d7cb149281baec1900502eccf803b
treeb9b2fd547b023388f7f6ec470efd25c3a7d0fc99
parent2ad204b68275d1bd948669293dd7a4f41d1b0dcd
Add a new clnt*_control CLSET_CONNECTED, which says the socket has already
been connected.  In the udp case, this means to use send(), not sendto()
ok jmatthew, claudio, miod
include/rpc/clnt.h
lib/libc/rpc/clnt_tcp.c
lib/libc/rpc/clnt_udp.c