Multihomed UDP server

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jan 19 12:06:44 PST 2004


In message <200401192002.i0JK2SJZ058752 at khavrinen.lcs.mit.edu>, Garrett Wollman
 writes:
><<On Mon, 19 Jan 2004 12:58:00 +0100, "Poul-Henning Kamp" <phk at phk.freebsd.dk> said:
>
>> I'm considering ways to make sendmsg(2)/recvmsg(2) DTRT, and my
>> current candidate is give them a flag bit which says "msg_name has
>> both addresses".
>
>Um, they already do the right thing.  That's what the IP_RECVDESTADDR
>option (and its dual whose name I forget right now) is all about.

Yeah, I found that out.  Now, where on the earth is that documented ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-net mailing list