I am trying to read TOS of incoming packets on TCP socket. I know that it has to be done in 3 steps: 1) setting IP_RECVTOS using setsockopt 2) using recvmsg to get an ancillary message 3) use cmsg macros to get the data (thanks to Nimrod) I have troubles getting all 3 together - I set the option using setsockopt, but each time I call recvmsg, there are no msgs waiting. any ideas, examples etc are very appreciated. If you have any examples for getting TOS/TTL/similar please send me some pointer. Thanks in advance Leonid Igolnik aka LiM ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
