heii thanks for your response,

i got an solution regarding it .. *ip.isReachable(...)* id there , acoording
to this method :

"Tries to reach this *InetAddress*. This method first tries to use
*ICMP* *(ICMP
ECHO REQUEST)*. *When first step fails, a TCP* connection on port 7 (Echo)
of the remote host is established."



On Sat, Jul 2, 2011 at 2:38 AM, JAlexoid (Aleksandr Panzin) <
[email protected]> wrote:

> This is not really an Android related topic, but...
>
> Do not rely on IP broadcasting being available. A lot of networks will
> forbid broadcast packets. You may try the ICMP ping, but a lot of firewalls
> will drop all ICMP packets. Broadcasting is an unreliable feature.
>
> I'd suggest asking on StackOverflow, there are more people that do lower
> level networking.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to