So I found a select server off of a website and modified it. I am using the server with non-blocking clients.
If I connect 2 clients to the select server the clients work in blocking mode just fine. When I set the clients to non-blocking they echo to them selves. Whether connected to the server or not. As long as 2 or more clients are connected. For example if I connect cli1 & cli2 (no server), type hey in cli1 and it will send hey to itself.
I fixed the EAGAIN issue with read, and EINOROGRESS with connect.
What could be causing this issue?