Can anyone tell me how to braodcast a request to other Computer in a same network? A request such as requesting the Computer Name... I just need a simple code... thanks...
Printable View
Can anyone tell me how to braodcast a request to other Computer in a same network? A request such as requesting the Computer Name... I just need a simple code... thanks...
You may create a client program that uses UDP and send it to the subnetwork's broadcast address.
You may want to look up the SO_BROADCAST socket option (setsockopt()).