42 Exam 06 _top_ -
Always keep track of your highest file descriptor (the nfds argument in select ). If you miss this, select() won't monitor new connections. 4. Preparation Strategy
And remember:
int main(void)
The server must accept incoming connections, assign each client a unique ID, and broadcast messages from one client to all other connected clients. Exam Structure & Provided Material 42 Exam 06
A minimal viable structure: