Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 1997 13:42:45 +0100 (BST)
From:      Aled Morris <aledm@routers.co.uk>
To:        hackers@freebsd.org
Subject:   UDP "to" address?
Message-ID:  <Pine.BSF.3.91.970826134032.21490D-100000@ns.uk.peer.net>

next in thread | raw e-mail | index | archive | help
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.

Aled
-- 
tel  +44 973 207987                      O-
aledm@routers.co.uk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970826134032.21490D-100000>