12-08-2008, 08:03 AM
Join Date: Nov 2008
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Unable to make Socket Connaction
Please Login to Remove!
I am developing an application using BlackBerry JDE ,where, i have to access through Socket Server.
my code is given below..........
SocketConnection sc = (SocketConnection)
Connector.open("socket://"+"192.168.1.110"+":"+"8080"+";deviceside=true":sm ileywink:; System.out.println("request has been forwarded 2222":smileywink:;
is = sc.openInputStream();
os = sc.openOutputStream();
but its unable to make connection,andthroughing Exception as Java.io.IOException - Open tunnel - max timeout.
And when i made ";deviceside=false", then it not throughing this Exception ; but my Socket Server is not listening its request.May be there is something minnor problem with the BlackBerry JDE settings.or anything else which i am missing. Please reply me...............