Sockets & Pocket PC

  • Thread starter Thread starter Ryan
  • Start date Start date
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.
 
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.
 
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




.
 
Back
Top