I am currently working on implementing a feature called 'add monitors' into my program. This feature would allow users to display data on another computer (a sub-program) within the same building, without the need for internet connectivity. The two programs would be operated by different individuals who do not have direct access to each other's computers, but can send and receive data between them.
The concept behind this feature is:
1. Main program requests a list of connected computers from the router.
2. Router sends back MAC addresses of connected computers.
3. Main program connects to the desired computer and waits for a response (data).
As I am new to this type of implementation and do not fully understand how requests work, I am struggling to come up with a solution on my own. I am using Electron for this project.
If anyone has any ideas or hints on how to achieve this, I would greatly appreciate it. Thank you.