Hi Niels,

On 09/02/2015 03:15 PM, Niels Werensteijn wrote:
> 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).
> 

We kind of committed to keep the status quo for the v1.x series, that
is, XP support included, but we'll drop it afterwards.

Can you come up with a (as detailed as possible) API proposal? That way
we can see if this would fit into v1.x or land in master and be part of
v2.x, in which case there is no need to worry about Windows XP.


Regards,

-- 
Saúl Ibarra Corretgé
bettercallsaghul.com


-- 
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.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to