Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
5.11.1
-
None
Description
Our product uses Qt 5.11.1 and we mainly use QWebSocket implementation of a websocket from the library. We noticed that when attempting to use the class with DNS address that contains only ipv6 address the ipv6 tcp connection is not made and in the error message we receive an error QAbstractSocket::SocketError::HostNotFoundError.
We have therefore a few questions about this behavior. Can you please answer them:
1. Can you please tell us if QWebSocket supports IPv6?
2. In case it does not, can a workaround be implemented to support ipv6 for QWebSocket?
3. If DNS response has mixed ipv4 and ipv6 addresses, what is the behavior of QWebSocket? Does it have a preference to connect? It connects to first address that succeeds or only to the first one?
Thank you,
With best regards,