2 of 2 c getline chomp socket thread inconsistent connect failure 2022 12 02 18 34 47
Channel: ozzloy
Date: 2022-12-06

we made a multithreaded client to allow a user to connect to the chat
server. the client asks the user for a name at the start. then it
connects to the server and starts listening for chat messages. it also
sends the name and reads lines from the user to send to the server.

we wrote chomp, and switched to using getline instead of scanf.

for some reason, the client / server combo was not working consistently
on your computer. we started to troubleshoot but were not able to
completely by the end of the session.

https://youtu.be/1VQesg0-cZk