[Interest] Convert IPv6 to IPv4 ?

"Alexander CarĂ´t" alexander_carot at gmx.net
Thu Apr 21 14:05:52 CEST 2016


Hello,

I noticed that retrieving a sender's IP address of a QWebSocket via ->peerAddress() returns an IPv6 socket address.

For certain reasons I need an IPv4 address so I wonder how it is possible to either let ->peerAddress() return an IPv4 address or convert the IPv6 address to an IPv4 address.

Thanks in advance,
best

Alex 

--
http://www.carot.de
Email : Alexander at Carot.de
Tel.: +49 (0)177 5719797



More information about the Interest mailing list