Hi,
I'm trying to find the equivalent of the IP_RECVDSTADDR socket option
that is mentioned in Steven's UNP Vol. 1 2nd ed. Through the use of
recv_msg() and this socket option, I am able to get the destination IP
address of UDP data. I need this because I have one socket bound to port
8510 and have multiple multicast groups coming in on that port.
I have heard of/seen the in_pktinfo struct but I don't have any clue on
how to obtain this struct along with an incoming packet. Any pointers
would be of great help.
Thanks,
Tuan
--
Tuan Hoang
The MITRE Corporation
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]