I am in the process of writing a program for our department as follows:
We have about 40 field directorates in addition to the central department. Each field directorate has its own LAN and is connected to the central department through our WAN. I need to write a program that would:
1. On startup, scan the network to determine which directorates/PC's are connected.
2. Upon user action, send a file from the host machine to all connected computers and store it in a specific folder.
Given that I am a newbie network programmer/c++ programmer, where can I find guidance on how to achieve this task?