Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

isReachable in a specific port?

joao zaratine
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem, I need to test a link between my computer and a remote ip camera, and I need to do this really fast.

so, I was trying to use the method isReachable but I need to find a way to set the port.

there is any other kind or method that can I use to that situation?

I tried to use the InetSocketAddress but it looks so slow.
that was slow just when a invalid IP is entered, but when the link is up and the port is not, then the method runs fast.

anyone can help me?
(forgive me for my english)
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic