Sockets & Pocket PC

R

Ryan

Hello Everyone,

I built a small application that uses sockets to
connect from the Pocket PC to the desktop in the .NET
CF. I tell the pocket pc application which IP address
the desktop is running on, and it works great. This can
be done through the ActiveSync USB cord or through an
ethernet card fine. When the desktop doesn't have a
network card installed or isnt on a network it runs on IP
address 127.0.0.1 by default. The Pocket PC can't then
connect. Does anyone know of a way to trick the desktop
into thinking its on a network so sockets with the pocket
pc work correctly?

Thanks in advance.
 
C

Chris Mullins

Ryan said:
Does anyone know of a way to trick the desktop
into thinking its on a network so sockets with the pocket
pc work correctly?

Go into the network settings for the desktop PC and change it from DHCP to
"Static IP".

Give it an address like "192.168.10.1", make up a gateway IP
(192.168.10.200), don't enter a DNS Server, and you should be good to go.
 
R

Ryan

Thanks for the help, I will give that a shot.
-----Original Message-----
You need to install MS Loopback Adapter and assign an ip address to it. It
can be installed under Add/Remove Hardware in Control Panel. Look under
Network Adapters




.
 

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