Date: Mon, 19 Jan 2004 21:45:49 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Subject: Re: Multihomed UDP server Message-ID: <98634.1074545149@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 19 Jan 2004 20:44:34 GMT." <Pine.BSF.4.53.0401192035030.94399@e0-0.zab2.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.53.0401192035030.94399@e0-0.zab2.int.zabbadoz.net>, "Bjo ern A. Zeeb" writes: >You mean for FreeBSD or in ISBN 0-13-490012-X ? > >For FreeBSD it is man 4 ip: > >--- cite --- > If the IP_RECVDSTADDR option is enabled on a SOCK_DGRAM socket, the > recvmsg(2) call will return the destination IP address for a UDP data- > gram. The msg_control field in the msghdr structure points to a buffer > that contains a cmsghdr structure followed by the IP address. The > cmsghdr fields have the following values: >--- cite --- That really belongs on udp(4) more than ip(4)... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98634.1074545149>