Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 559 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 559 Bytes

cSocket

Socket use examples for select, poll and epoll.

Build and Run on Ubuntu 20.04

Build

cmake -H. -Bbuild
cmake --build build -j

Run

select test

./build/select # for socket select server
./build/client # for socket client

poll test

./build/poll # for socket poll server
./build/client # for socket client

select test

./build/epoll  # for socket epoll server
./build/client # for socket client

Reference document here.