The approach was wrong.
Instead of pinging every existing computer, I should use the broadcast address to send out a specific message and receive reply from the computers that can read and understand that message.
That's how I eventually accomplished the task.