Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 1997 14:59:15 -0400
From:      "Gregory D Moncreaff"<Gregory_D_Moncreaff@res.raytheon.com>
To:        hackers@FreeBSD.org
Subject:   man recvmsg and soreceive
Message-ID:  <8525653A.006CE9C5.00@notes.res.ray.com>

next in thread | raw e-mail | index | archive | help


With respect to connection oriented protocols PR_CONNREQUIRED (are there
any in 2.2.5?)

kern/uipc_socket.c:soreceive() will perform PDU_RCVD (which can have effect
of
implicitly confirming connection) when called ONLY to get control data
unless flags
has MSG_PEEK

Need to update man page to say that you must call recvmsg with MSG_PEEK to
avoid
implicitly confirming connection

=====================================================================
Gregory D. Moncreaff                     Phone     1-508-490-2048
Raytheon Electronic Systems              Fax  1-508-490-2086
Gregory_D_Moncreaff@res.raytheon.com     Home   moncrg@ma.ultranet.com
---------------------------------------------------------------------





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8525653A.006CE9C5.00>