QTcpSocket on Symbian (access point required)
Hi to everybody,
i've a client that use a QTcpSocket to connect itself to a QTcpServer.
All is fine on Windows, but when i deploy the client on Symbian while the server running on Windows, the application require me to select an internet access point but i use this:
client side
server side
Can somebody help me?
Many thanks!
Re: QTcpSocket on Symbian (access point required)
If the client and server run on different hosts then QHostAddress::LocalHost will not work -- it's an address that loops back to the same machine (google for "loopback" for more info). You need to give a proper address of the server to your client.