Quickest way to check for an IP?

Hi all,

What's the fastest possible way to check if there is something at an IP address. I'm imagining it is ping with a very low timeout. But does anybody know any quicker?

Thanks,
Uni
LVL 3
Unimatrix_001Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
If the machine is running a firewall, even ping won't do.  What do you need this for - there might be other ways...
0
Unimatrix_001Author Commented:
I'm creating a plugin that checks to see if there is a computer on the end of a PC, that's all I've been asked to do... I just need it to say yes or no as fast as possible really... If there is a firewall, or anything else that would stop you connecting to it, then we can say there's no PC at the other end...

Thanks,
Uni
0
DVation191Commented:
Like leew said, some firewalls are configured to drop ICMP packets. Ping is the fastest, although certainly not thorough. A full port scan would be what you'd need to know for sure with something like Retina Security Scanner...but that takes minutes compared to the milliseconds it takes a ping packet.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Unimatrix_001Author Commented:
Hmm....ping will do nicely then. :) What is the very bottom limit would you suggest that I could set the count, size and timeout to still find out if something exists?
0
DVation191Commented:
That depends on your link speed. If you have a T1 or greater, there should be no reason you can't a response in less than 300-400ms at the most. If it can't respond in that amount of time there is some serious lag issues with the server or the link.
0
Unimatrix_001Author Commented:
Hmm... fair enough then, points awarded to DV. :)
0
ViRoyCommented:

maybe a udp scan would be better... have it swarm a ip block and wait for returns... could scan a whole subnet in no time
0
Unimatrix_001Author Commented:
Hmm... Could you possibly expand on that please (I'll get the question reopened and aware some points to you as well if need be)?

Thanks,
Uni
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.