[Libwebsockets] Lws 4.2 - Client with IPv4 and IPv6 connectivity- picks IPv6

smkmsk11 smkmsk11 at gmail.com
Thu Jul 29 20:59:03 CEST 2021


Hi,
I am testing lws 4.2 stable version on host with IPv4 and IPv6 connectivity
to server. Lws client (IPv6 ON) always picks IPv6 address.
1. Is there a way to make lws pick IPv4 first and then IPv6?
2. Does lws try all the connections (IPv4/IPv6) if one of them fails to
connect?

-Sid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20210729/5e76fdd4/attachment.htm>


More information about the Libwebsockets mailing list