Hello,
I have a wireless network with 1 AP and 3 clients.
The AP counts every 10 seconds for what we can call Superframe. I want that the 3 clients are synchronized in such a way that they will not transmit data (a ping message for instance) simultaneously. I want to create a rule, like "at second x client x transmits".
How can I do that?
How many clocks are available for the Arduino Yun? What's the reference library to work with these clocks?
sonnyyu
November 30, 2015, 5:32pm
#2
Server software use either:
Multithreading
Non-blocking I/O
to support concurrent requests from each client.
In computer science, a thread of execution is the smallest sequence of programmed instructions that can be managed independently by a scheduler, which is typically a part of the operating system. The implementation of threads and processes differs between operating systems, but in most cases a thread is a component of a process. The multiple threads of a given process may be executed concurrently (via multithreading capabilities), sharing resources such as memory, while different processes do Th...
Multithreading, each thread for each client.
Node.js is an open-source server environment. Node.js is cross-platform and runs on Windows, Linux, Unix, and macOS. Node.js is a back-end JavaScript runtime environment. Node.js runs on the V8 JavaScript Engine and executes JavaScript code outside a web browser.
Node.js lets developers use JavaScript to write command line tools and for server-side scripting. The functionality of running scripts server-side produces dynamic web page content before the page is sent to the user's web browser. Co...
Node.js provides an event-driven architecture and a non-blocking I/O API
Thank you.
I will check if it is suitable for my purpose