Automatically detect a new computer connected to the network

Posted by Ian on Stack Overflow See other posts from Stack Overflow or by Ian
Published on 2010-05-20T12:10:07Z Indexed on 2010/05/20 12:40 UTC
Read the original article Hit count: 151

Filed under:

Hi All,

Is there an elegant way to make a program detect a new computer that is connected to the network?

I would like my program to "auto-sense" a new computer being connected on the network (they're on the same network). Like a USB device being connected to the computer.

What I'm doing now is to save a list of all computers in the network from time to time. Another approach is to PING all available IPs on the subnet.

Are there any other elegant approaches?

Thanks!

© Stack Overflow or respective owner

Related posts about networking