Sorry to send this question again,but I have used the wrong character set last
time.
Thanks Julian to point this.
Hello,I want to known if the development team has a plan to add API to support
user data handling during connection establishment,just as WSAConnect and WSAAccept do.
I want to get the connection data to judge my program's behavior, and I think these
two APIs are very useful.
I read the man page of accept,it says:
For certain protocols which require an explicit confirmation, such as ISO
or DATAKIT, accept() can be thought of as merely dequeueing the next con-
nection request and not implying confirmation. Confirmation can be im-
plied by a normal read or write on the new file descriptor, and rejection
can be implied by closing the new socket.
One can obtain user connection request data without confirming the con-
nection by issuing a recvmsg(2) call with an msg_iovlen of 0 and a non-
zero msg_controllen, or by issuing a getsockopt(2) request. Similarly,
one can provide user connection rejection information by issuing a
sendmsg(2) call with providing only the control information, or by call-
ing setsockopt(2).
So does anyone know something more?
Thanks.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message