I am using the following code for connecting through Sockets.
iSocket.Open(iSocketServ, KAfInet, KSockStream, KProtocolInetTcp);
const TUint32 KInetAddr = INET_ADDR(192,118,50,76);
And I have implemented the RunL of my Active Object derived class.
But still the iStatus value checked in the RunL gives an error of KErrGeneral.
I have set up modem settings by running setupcomms.bat and modifying the following values:
PortName to COMM::0
TSYName to HAYES
CSYName to ECUART
And also I changed the settings in the 7650 emulator in "Connection" in "Settings" and I am using Direct PPP.
I would like to get some help if some problem is with the code or some other settings.
Thank you in advance for your support.