I'm facing with a quite strange problem. My application is designed in this way : on the phone are running a midlet and a symbian application, the midlet acts as a server and the symbian application as a client. I used socket on loopback interface for any kind of communication.
The problem is : what kind of IAP I've to choose for the loopback interface communication ?
During the simulation everything is ok : when the communication starts, the carbide emulator asks me to select WINSOCKS IAP and all runs fine.
But, what have I do when I run the application on the phone ? Is there any way to avoid the trigger the popup for IAP choise and use a "default" one ?
Code snippet :
Thank you in advance.
TInetAddr destAddr(KInetAddrLoop, 3993);
// Open a Host Resolver associated with the connection
hr.Open(ss, KAfInet, KProtocolInetTcp, conn);
// Open a Socket associated with the connection
iSocket.Open(ss, KAfInet, KSockStream, KProtocolInetTcp, conn);
// Request the Socket to connect to the destination