Pinging when connected with active sync

  • Thread starter Thread starter George Chatzigeorgiou
  • Start date Start date
G

George Chatzigeorgiou

Hello all.

I tried
http://www.alexfeinman.com/download.asp?doc=ping.zip
and the Ping class of the OpenNETCF, but it only works when connected to
WLAN. If connected with the active sync then I get an Error 87 or
"Impossible to send a packet" even though every other TCP operation is
working normally.
There is post with the same problem about 2 months ago, but it was left
unanswered. Is this a bug?

George Chatzigeorgiou
 
No, it's a limitation. ActiveSync doesn't claim that it forwards all packet
types.

Paul T.
 
Paul said:
No, it's a limitation. ActiveSync doesn't claim that it forwards all packet
types.

Paul T.

Hello Paul

Thanks you for answering.
It's a bit nasty though. If I have an application that uses a ping
mechanism, then I cannot use the debugger.
Yet, I think I've found a workaround by calling Dns.GetHostEntry.

Anyway thanks for your help

George Chatzigeorgiou
 
You could debug over the network, rather than via AS wired (or use
Bluetooth, etc.) I don't do this much on Windows Mobile devices, but I do
it all the time with our custom hardware. I think that there's information
in the archives of this group about what you need to do to set this up. You
can search via GoogleGroups:

http://groups.google.com/group/micr...tframework?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8

I found this via such a search:

http://blogs.msdn.com/vsdteam/archive/2005/04/28/413304.aspx

Paul T.
 
Back
Top