Log in

View Full Version : Unable to get the host name


jake
12-21-2003, 05:25 PM
Hello

I have the following problem:

I wrote a Server winsock app for windows and I try to make it work with the
smartphone tcp client

sample app from MS.

I work on evc4.2 ,xp,smartphone emulator 2003.

When I run the app I get :"Unable to get the host name winsock error 11001".

But ,when I try from the emulators ie: http://[my loopback ip]:[my app port]

I can see the "get" on the server.

My guess is that my problem is with the gethostbyname() for which I've tried
my ip and 127.0.0.1 and dns names ,but with no avail!!!!!

What should I do?

Thanks