I use the code below on a nokia 3650 to establish a WSP connection. The problem is that on one phone it works well, but on another one, after selecting the WAP APN in the StartOutgoing, the APN IP address which I read is 0.0.0.0
It seems that the correct address was not set in commdb. Does anybody know why, or what should I do to get the IP Address of the APN which the user selects?
//CEikonEnv::InfoWinL(_L("Agent:"),_L("Network is not active"));
// now try to get the APN:
CApAccessPointItem* ap= CApAccessPointItem::NewLC();
//This code is to read the IP address and all
ap->ReadTextL(EApWapGatewayAddress,ms); //put appropriate constants to read rest of info like user name...