How to do ARP-like request
Posted on 2003-03-04
We're creating a capability for distributed measuring of application performance that runs on workstations and that we can deploy on our network.
We'd like for these "watchdog" PCs to announce themselves to the nearest data consolidation server.
So, what we'd like to do is have them do some sort of a broadcast to find the servers that are out there available for receiving the data they're collecting.
How would one write a "broadcast" network request (like ARP or a DHCP client request) to announce themselves. We would know the "port" to use, but not the IP address to direct the message to (it should be anything that responds).
Any example code (C, Java, VB, perl, etc.) that does this would be even better.