PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
OpenNETCF.Net.NetworkInformation.Ping
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
OpenNETCF.Net.NetworkInformation.Ping
![]() |
OpenNETCF.Net.NetworkInformation.Ping |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I've been using this to ping an IP wirelessly to see if the TCP printer is
"online" wirelessly. Works great. I know that in ActiveSync debug, the wireless is disabled but I can run other syncing to a server over the lan via the ActiveSync just fine but the ping always returns either a 1 or a 1000 which aren't even IPStatus enumerations..... Any idea as to what's happening here? I'm not a network guru by any means..... Is this pinging only applicable to wireless? Why is the syncing to another server via a web service working fine yet I cannot ping the IP for that server using the OpenNETCF.Net.NetworkInformation.Ping during an ActiveSync debug session.....??? Any ideas? TIA |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Because ActiveSync doesn't relay ICMP packets. It's like having a ping
firewall between the two endpoints. -- Chris Tacke, Embedded MVP OpenNETCF Consulting Giving back to the embedded community http://community.OpenNETCF.com "Harry Simpson" <hssimpson@phgt.net> wrote in message news:%23vV6oRMoIHA.524@TK2MSFTNGP05.phx.gbl... > I've been using this to ping an IP wirelessly to see if the TCP printer is > "online" wirelessly. Works great. > I know that in ActiveSync debug, the wireless is disabled but I can run > other syncing to a server over the lan via the ActiveSync just fine but > the ping always returns either a 1 or a 1000 which aren't even IPStatus > enumerations..... > Any idea as to what's happening here? > > I'm not a network guru by any means..... > > Is this pinging only applicable to wireless? Why is the syncing to > another server via a web service working fine yet I cannot ping the IP for > that server using the OpenNETCF.Net.NetworkInformation.Ping during an > ActiveSync debug session.....??? > > Any ideas? > > TIA > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Thanks Chris!
That explains it.... Harry "Chris Tacke, eMVP" <ctacke.at.opennetcf.dot.com> wrote in message news:%23X$sBXMoIHA.3532@TK2MSFTNGP03.phx.gbl... > Because ActiveSync doesn't relay ICMP packets. It's like having a ping > firewall between the two endpoints. > > > -- > > Chris Tacke, Embedded MVP > OpenNETCF Consulting > Giving back to the embedded community > http://community.OpenNETCF.com > > > > "Harry Simpson" <hssimpson@phgt.net> wrote in message > news:%23vV6oRMoIHA.524@TK2MSFTNGP05.phx.gbl... >> I've been using this to ping an IP wirelessly to see if the TCP printer >> is "online" wirelessly. Works great. >> I know that in ActiveSync debug, the wireless is disabled but I can run >> other syncing to a server over the lan via the ActiveSync just fine but >> the ping always returns either a 1 or a 1000 which aren't even IPStatus >> enumerations..... >> Any idea as to what's happening here? >> >> I'm not a network guru by any means..... >> >> Is this pinging only applicable to wireless? Why is the syncing to >> another server via a web service working fine yet I cannot ping the IP >> for that server using the OpenNETCF.Net.NetworkInformation.Ping during an >> ActiveSync debug session.....??? >> >> Any ideas? >> >> TIA >> > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
So how do we test for 1. net connection and 2. web service connection while
running the application in debug via ActiveSync? Thought about: ping with http call. But that fails down if ping fails when connected via ActiveSync.Something like this: If PingOK OR ActiveSyncOK then If httpOK then Return true End End Return False What's the best way to handle the CheckConnection that would work in debug ActiveSync too or do ya just keep in mind the restrictions? TIA Harry "Harry Simpson" <hssimpson@phgt.net> wrote in message news:%23lfMdXNoIHA.672@TK2MSFTNGP02.phx.gbl... > Thanks Chris! > > That explains it.... > > Harry > > "Chris Tacke, eMVP" <ctacke.at.opennetcf.dot.com> wrote in message > news:%23X$sBXMoIHA.3532@TK2MSFTNGP03.phx.gbl... >> Because ActiveSync doesn't relay ICMP packets. It's like having a ping >> firewall between the two endpoints. >> >> >> -- >> >> Chris Tacke, Embedded MVP >> OpenNETCF Consulting >> Giving back to the embedded community >> http://community.OpenNETCF.com >> >> >> >> "Harry Simpson" <hssimpson@phgt.net> wrote in message >> news:%23vV6oRMoIHA.524@TK2MSFTNGP05.phx.gbl... >>> I've been using this to ping an IP wirelessly to see if the TCP printer >>> is "online" wirelessly. Works great. >>> I know that in ActiveSync debug, the wireless is disabled but I can run >>> other syncing to a server over the lan via the ActiveSync just fine but >>> the ping always returns either a 1 or a 1000 which aren't even IPStatus >>> enumerations..... >>> Any idea as to what's happening here? >>> >>> I'm not a network guru by any means..... >>> >>> Is this pinging only applicable to wireless? Why is the syncing to >>> another server via a web service working fine yet I cannot ping the IP >>> for that server using the OpenNETCF.Net.NetworkInformation.Ping during >>> an ActiveSync debug session.....??? >>> >>> Any ideas? >>> >>> TIA >>> >> >> > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

