Skip to content
systemcoding.dev

Tag

epoll

3 posts

Flat illustration of two options weighed side by side, with the C, Linux and GNU logos.
Networking

Level-Triggered vs Edge-Triggered epoll

Compare epoll level-triggered and edge-triggered modes with EPOLLET, see exactly when each reports readiness, and pick the right one for your server.

6 min read
Flat illustration of network packets crossing between two hosts, with the C, Linux and Rust logos.
Networking

Build an epoll Event Loop in C Step by Step

Write a single-threaded TCP echo server on Linux with epoll_create1, epoll_ctl and epoll_wait, using non-blocking sockets and a clean accept and read loop.

8 min read