Problem in RSocket Connect on phone

Login to reply to this topic.
Thu, 2005-09-01 22:31
Joined: 2005-08-31
Forum posts: 6
Hi All,

I am having this problem where the Connect call of my RSocket always returns an error KErrTimedOut (-33) on the phone, whereas in the emulator is just works fine. Also the point to note is the socket example that comes with the Symbian SDK also returns KErrTimedOut on the phone. I am able to send/receive email on the phone and also able to browse the web. Can someone please tell me as to what can be going wrong here. I thought that sending/receving mail used TCP/IP and since that was successfull, the socket connect should also be successfull. But its timing out every time. Any help would be appreciated.

Thanks
Karan

Fri, 2005-09-02 12:20
Joined: 2005-05-11
Forum posts: 83
Re: Problem in RSocket Connect on phone
What IAP do you use for connect?
Fri, 2005-09-02 14:18
Joined: 2005-08-31
Forum posts: 6
Re: Problem in RSocket Connect on phone
I get the IAP from didster's code from the following link:
http://forum.newlc.com/index.php/topic,7653.0.html
The access point name that the phone uses is "wap.voicestream.com" and the rest are default settings as follows:

Access point settings
-------------------------------
Connection name: Tmobile
Data bearer: Packet Data
Access point name: wap.voicestream.com
User name: None
Prompt password: No
Password: <empty>
Authentication: Normal
Homepage: www.google.com

Advanced settings
-------------------------------
Phone IP address: Automatic
Primary name server: 0.0.0.0
Second. name server: 0.0.0.0
Proxy serv. address: None
Proxy port number: 0

Packet Data settings
-------------------------------
Packet data connection: When available
Access point: wap.voicestream.com

Any ideas about what could be wrong here?

Thanks
Karan
Fri, 2005-09-02 18:01
Joined: 2005-08-31
Forum posts: 6
Re: Problem in RSocket Connect on phone
Can somebody assist me with this please..its urgent..Didster?javascript:void(0);
sad

Thanks
Karan
Fri, 2005-09-02 20:10
Joined: 2005-05-11
Forum posts: 83
Re: Problem in RSocket Connect on phone
Try use other IAP.
Try to use port 80 to connect.

Look in nokia site for this IAP setting and make sure what they are correct.
Fri, 2005-09-02 21:01
Joined: 2005-08-31
Forum posts: 6
Re: Problem in RSocket Connect on phone
I tried pinging www.google.com at port 80 with the SDK's sockets example app and it timed out with -33 error message. I requested TMbile settings from www.nokiausa.com and saved them on my phone but still the same results. Don't know whats missing here. Any ideas?

Thansk
Karan
Sun, 2005-09-04 13:38
Joined: 2005-05-11
Forum posts: 83
Re: Problem in RSocket Connect on phone
Look to this setting. Is there proxy addresse? May bee you can connect to other servers only thru proxy.
Wed, 2005-12-07 17:32
Joined: 2005-09-09
Forum posts: 20
Re: Problem in RSocket Connect on phone
hi Karan

tell me one thing. Do you get (dns) host resolution when you ping google.com  using the SDK sockets example?? If yes, then the app is connecting to the DNS(via your operators gateway of course) and the prob is with TCP sockets support from current access point .  Timed out error is typical of lack of TCP sockets support from current access point.
Operators generally differentiate between WAP access point and internet access point and using sockets isnt supported on WAP only access point.

Another thing you can try out is using WAP stack. That should work with WAP access point

Abhinav
  • Login to reply to this topic.