Skip to content
systemcoding.dev

Tag

posix

44 posts

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

Write a TCP Client in C with connect

Write a TCP client in C that calls socket and connect, sends a request, reads the reply until the server closes, and handles errors on Linux.

7 min read