Socket use examples for select
, poll
and epoll
.
cmake -H. -Bbuild
cmake --build build -j
./build/select # for socket select server
./build/client # for socket client
./build/poll # for socket poll server
./build/client # for socket client
./build/epoll # for socket epoll server
./build/client # for socket client
Reference document here.