Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.3
-
None
Description
The use case is to connect with a Qt Application to a local TCP server (written in Symbian C++).
For this open a TCP/IP connection to the LocalHost with QTcpSocket:
iTcpSocket = new QTcpSocket(this); iIpAddress = QHostAddress(QHostAddress::LocalHost).toString(); iPort = 9393; iTcpSocket->connectToHost(iIpAddress, iPort);
This works fine as long as the default connection is a valid connection. We can use a valid internet accesspoint or a WLAN ad-hoc accesspoint. And in this way the connection to the local server is successful open the communication to the TCP-Server works.
But if we need just a local connection and do not want to open a connection with a access point i.e without using the connection management (access point, bearer), is not working with this way.
Attachments
Issue Links
- depends on
-
QTBUG-14114 Symbian socket engine
- Closed
- is replaced by
-
QTBUG-16843 Symbian - Qt don't recognize 127.0.0.1 as local connection
- Closed