Log in

View Full Version : GPRS Connection


quangnn81
05-24-2004, 04:23 AM
Hi,

Can anyone help me to connect to a server using TCP/IP?
I am using Smartphone 2003, I checked to ensure that Internet connection was okay (I can browse IE) but when I connected to a server by TCP/IP protocol, there's the error:

"No such host found"

But the server does exist, IP and port are correct, I've checked many times. Can anyone explain to me.

Thank you in advance

Mike Temporale
05-27-2004, 04:19 AM
What kind of server are you trying to connect to? and from what application? If IE works, I assume mail works. So this would be some other 3rd party app?

quangnn81
05-31-2004, 05:01 AM
It's a normal Server using TCP/IP - Windows Application type. It receives some input bytes and return some output bytes.

I wrote a test program in Windows Application to connect to server (IP and port known) and it worked. When I do the same thing with my phone, it doesnt.

kennyg
07-24-2004, 07:36 AM
Make sure you are initializing the socket library on the main thread, windows normally doesn't require it but the mobile version is very anal about it.

Other then that you should post the code you are using as it seems you are doing something beyond a generic call.

Kenny.