Hello All,
I am trying to connect using QTcpSocket::connectToHost. This is working fine when I provide host IP (tcpSocket->connectToHost("xx.xx.xx.xx".80)).
But not working when I provide host name (tcpSocket->connectToHost("www.xxx.com".80)).
It seems it not resolving host name.
What can I do ?
Bookmarks