Date: Tue, 26 Aug 1997 23:46:55 +0200 (MET DST) From: Wilko Bulte <wilko@yedi.iaf.nl> To: skynyrd@opus.cts.cwu.edu (Chris Timmons) Cc: aledm@routers.co.uk, hackers@FreeBSD.ORG Subject: Re: UDP "to" address? Message-ID: <199708262146.XAA03122@yedi.iaf.nl> In-Reply-To: <Pine.BSF.3.95.970826131258.24610B-100000@opus.cts.cwu.edu> from "Chris Timmons" at Aug 26, 97 01:14:14 pm
next in thread | previous in thread | raw e-mail | index | archive | help
As Chris Timmons wrote... > > Use bpf directly, like dhcpd does? I'd go looking for the isc dhcpd > implementation at www.isc.org. The code is well written and easy to > follow. Which incedently is also available as a port ... > -Chris > > On Tue, 26 Aug 1997, Aled Morris wrote: > > > Does anyone have a way of recovering the address to which a UDP packet > > has been addressed? recvfrom(2) only returns the source address and > > getpeername(2) is no use for UDP. > > > > The problem I have is a multi-homed machine which needs to know the > > address the client has used to reach it. _ ____________________________________________________________________ | / o / / _ Bulte email: wilko@yedi.iaf.nl http://www.tcja.nl/~wilko |/|/ / / /( (_) Arnhem, The Netherlands - Do, or do not. There is no 'try' ----------------------------------------------------------------------Yoda
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708262146.XAA03122>