Event-Driven Programming in C++ 1.0
A case study on event-driven programming in C++
Loading...
Searching...
No Matches
io_and_sockets.hpp File Reference

Declaration of the runDemo() function for the I/O and Sockets demonstration. More...

Go to the source code of this file.

Namespaces

namespace  io_and_sockets
 Provides cross-platform functionality for monitoring I/O and socket events.
 

Functions

int io_and_sockets::runDemo ()
 Run demo for the I/O and socket monitoring example.
 

Detailed Description

Declaration of the runDemo() function for the I/O and Sockets demonstration.

This header declares the runDemo() function which sets up and runs the demonstration for monitoring both socket events and console input. The demonstration creates a TCP server that listens on a specific port and continuously processes events until the user types "quit".