Is it possible to implement ping on windows phone 7?

To get an idea of ​​the networking features in WP7, I was going to create a simple ping application that would map the result of an ICing ping request to a specific host.

However, not only is the class System.Net.NetworkInformation.Pingmissing, the namespace is System.Net.Socketsalso missing.

After a short study, it turned out that in WP7 there are only two communication methods: a class WebClientthat works with http (s) requests and a WCF client that works with SOA services.

Does this mean that I can not ping hosts directly from the phone? The only possible solution that I see is to implement a separate WCF service on a dedicated server that will ping for the phone, which looks like it is overkill and has certain disadvantages.

+5
source share
1 answer

You cannot do this until the sockets appear on the WP7 platform, as there is no other way to send an ICMP packet.

Phones cannot respond to requests from the server - we will have to see this. If they have no doubt that it will change it anyway on unloaded devices.

, , , - .

+4

All Articles