android - How to check ip is available in network or not? -


i have list of ip getting using udp broadcasting, on bases of alive/death packet ,i got know whether user alive or went off.

but have single case suppose user went out network before sent death packet, how can detect user live or not.

- solution have:

so purpose m running thread ,in send dummy data user(from ip list), if ip not available respond io exception. taking time identify ip in network.

pls suggest me if have faster solution.

try pinging:

ping

and article:

java ping command

hope helps


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -