how do i use my wifi dongle to contact devices and give them a command



how do i write code in c++ that

1. uses my wifi dongle to contact all devices in the room

2. then tell all devices in the room to send a "cosmic ray" to "Geoffrey libs Cadbury"

NOTE: the devices in the room have AI on them that know what a "cosmic ray" means and they know who "geoffrey libs Cadbury" is

Last edited on
To access the internet through a C++ program, I assume you'd need to use a library. You can look up such libraries that allow for that. Once you learn enough of the library, you can experiment to see how to do that.
The UDP protocol allows broadcast to all available devices in the net.
Topic archived. No new replies allowed.