Tech Off Thread

1 post

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

C# - Quickly checking remote IPs for connectivity

Back to Forum: Tech Off
  • User profile image
    SlackmasterK

    I'm working on a few projects that look at series of remote IP addresses for certain information (i.e. active processes, hostnames, etc).  Unfortunately, it takes awhile to resolve them.  I'd like to come up with some way to check whether they're connected before telling the program to seek said information, and I'd like to determine this quickly.

    Currently, I'm sending out a ping and skipping a given address if its PingReply comes back as 0ms or it breaks to the catch{}.  Is there a faster way to determine whether or not a given IP address is connected to the network? Thanks.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.