C++ Line
C++ Express: Your First 20 Programs
Rated 4.8 out of 5 from 4 reviewsBeginner 20 lessons 611 students
Fare
€9All lines running
Coding preview on every course · Lifetime access · 14-day refund
Write a multi-user chat server and client in C++ using plain sockets, poll() and a tiny line protocol.
The route
5 modules · 20 lessons · 3h 27m of video
Sockets in five minutes
3 lessons
One client at a time
4 lessons
Many clients with poll
5 lessons
Protocol, rooms and nicknames
5 lessons
Stress testing
3 lessons
Destination
Before you board
About this course
Networking feels like magic until you write the server yourself. In this course you build a chat server that handles dozens of users at once, using nothing but POSIX sockets and poll(), plus a terminal client to talk to it.
You design a small text protocol, handle partial reads and disconnects, add rooms and nicknames, and finish by stress-testing the server with a hundred simulated clients.
Still unsure about something? Write to our contact page and a human answers, usually the same working day.
Nobody has reviewed this course yet, so there is no score to show. Buy it, work through it, and your review could be the one that helps the next developer decide.
One-time payment · lifetime access