E
Enemaerke
I've been trying to resolve the IP of the ActiveSync host for a couple
of hours but can't really seem to get anywhere. I'm on a Dell AXIM x510
with Windows Mobile 5.0 and ActiveSync 4.1
I would like to be able to call a web service on the desktop pc but I
can't seem to find some "generic" way of looking up the IP address.
Googled around a bit and found that the dtpt_peer registry setting
should resolve to the active sync host (as far as I could tell). I
tried to resolve it with System.Net.Dns.GetHostEntry("dtpt_peer") but
that just blew up. Tried to call a dead-simple website hosted on the
desktop pc from the pocketpc using the hardcoded dhcp ip of the desktop
which worked perfectly but I could not get anything working with the
dtpt_peer hostname or the 169.254.2.2 (the registry ip adress) or any
combination of these
Am I missing something here, am I looking in the wrong place or do I
need to configure something (activesync, pocketpc, desktop pc) to make
this work. It's not really an option to hardcode the IP of the host so
I need to figure out how to dynamically resolve the hosting desktop pc
Any help would be much appreciated
Soren
of hours but can't really seem to get anywhere. I'm on a Dell AXIM x510
with Windows Mobile 5.0 and ActiveSync 4.1
I would like to be able to call a web service on the desktop pc but I
can't seem to find some "generic" way of looking up the IP address.
Googled around a bit and found that the dtpt_peer registry setting
should resolve to the active sync host (as far as I could tell). I
tried to resolve it with System.Net.Dns.GetHostEntry("dtpt_peer") but
that just blew up. Tried to call a dead-simple website hosted on the
desktop pc from the pocketpc using the hardcoded dhcp ip of the desktop
which worked perfectly but I could not get anything working with the
dtpt_peer hostname or the 169.254.2.2 (the registry ip adress) or any
combination of these
Am I missing something here, am I looking in the wrong place or do I
need to configure something (activesync, pocketpc, desktop pc) to make
this work. It's not really an option to hardcode the IP of the host so
I need to figure out how to dynamically resolve the hosting desktop pc
Any help would be much appreciated
Soren