about summary refs log tree commit diff
path: root/ttb.c
AgeCommit message (Collapse)Author
2025-04-26Move sock to peersNakidai
This way it's also handled through poll, so no need for POLL_WAITMS anymore Though peers[0] is now reserved for server's socket, so server can handle up to SOCKETS_MAX-1 sockets from now
2025-04-17Some improvements v1.0.1Nakidai
- Don't make client sockets nonblocking as poll doesnt require this. Hence, fcntl and errno are not needed there anymore - Add ; after label cuz clang complains about variable declarations after labels and blah blah - Add checks for write(2) call to be sure that all data is sent
2025-04-17Add files v1.0.0Nakidai