Date: Thu, 27 Nov 1997 23:16:53 +0100 (MET) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: hackers@freebsd.org Subject: a networking question... Message-ID: <199711272216.XAA09193@labinfo.iet.unipi.it>
next in thread | raw e-mail | index | archive | help
I have the following problem with UDP: if I receive a packet with recvmsg, the identity of the sender is returned in a sockaddr structure. However, I have no idea of the destination address this packet was sent to. On a multihomed machine, this might be a problem even with unicast; on a single-homed machine, this is a problem with multicast. Is there any way to be returned the destination address as well ? Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711272216.XAA09193>