|
Event-Driven Programming in C++ 1.0
A case study on event-driven programming in C++
|
Entry point for the I/O and Sockets demonstration. More...
#include "io_and_sockets.hpp"Functions | |
| int | main () |
Entry point for the I/O and Sockets demonstration.
This program serves as the entry point for the demonstration of cross-platform I/O and socket event monitoring. It leverages the functionality provided in the io_and_sockets module, which sets up a TCP server that listens on a fixed port (e.g., 12345) and monitors for both incoming socket connections and console input. The demonstration continues until the user types "quit", after which the server shuts down gracefully.
| int main | ( | ) |