09-16-2009 05:32 AM
I am trying to connect to a remote server through socket connection from Blackberry Pearl 8100 device.
I am not able to connect.
I have set APN name provided by service provider.
Also, i am passing "deviceside=true" in url for direct tcp connection. I am not able to connect to server.
What can be done? Please help...
Solved! Go to Solution.
09-16-2009 05:43 AM
Any exceptions getting generated?
Is teh remote server you trying to access is on public IP? Is the same code working on Simulator?
09-16-2009 05:47 AM - edited 09-16-2009 05:48 AM
IO Exception is thrown. The server has a public IP address. My url is as follows:
"socket://ip : port;deviceside=true";
And through simulator I am able to exchange data successfully.
09-16-2009 05:58 AM
Something like this....
TunnelAuthUsername and TunnelAuthPassword is required for few operators.
09-16-2009 06:27 AM
Here are links to the relevant KB articles:
How To - Specify APN information for a direct TCP connection
Article Number: DB-00532
What Is - Different ways to make an HTTP or socket connection
Article Number: DB-00396