Skip to content

Junbo-Zheng/cSocket

Repository files navigation

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.

About

Socket use examples for select, poll and epoll.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published