Hi, I am evaluating libuv for future use. We currently have an UDP based protocol which has an issue on multi-homed machines. Packets that we send back to clients always have the ip src address of the default interface. When we bind the UDP socket to ANY (0.0.0.0 / ::0) this causes the clients to drop our reply packets when they send their packets to the ip of the *non*-default interface, since they originate from a different ip address.
This issue can be solved by setting the IP_PKTINFO / IP6_PKTINFO options on the socket and using (WSA)recvmsg and (WSA)sendmsg to get the receiving ip+interface or to specify it. My Question is if there is interest in supporting this in libuv. If so, I could probably make a patch. One issue would be that this would not be supported on win xp. (AFAIK WSARecvMsg /WSASendMsg are only supported in Vista and up). Regards, Niels Werensteijn -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
