ip address

J

J_ B

Hi. I have been using a Webservice to communicate between PDA and PC. I can
get this to work through USB when the pc that the pda is connecting to is
connected to a (DHCP) network, i can use the ip address of the PC to make
the url. ie http://10.0.0.55/WebService2/PhotoService.asmx

Now how do i do this when the PC is not connected to a network? I want this
to work with a standalone disconnected laptop. What should the address of
the Webservice be? I have tried assigning a static ip to the PC and using
that, eg http://192.168.0.1/WebS...., I have tried using the loopback ip of
the pc, ie http://127.0.0.1/... , I have tried using the machine name of the
pc. All to no avail.

The reason I want to get this working like this is so that pda and pc can
run this app in a networked (wireless) or unnetworked situations.

Thanks for any help,

j_b
 
A

Alex Feinman [MVP]

You want to add MIcrosoft Loopback Adapter (Control Panel/Add Hardware then
select from the list).
Assign a static address to it - anything will do. The reason it did not work
with a static address on your network card was that it sensed the disconnect
and reported it to the system. You cannot open a socket on a disconnected
adapter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top