I have a school homework that asks me to create a chat server (tcp) without creating new processes.
The problem is that the server has a console. i need to be able to send the server some input whenever i want... I need to use the select function for the mux of the i/o. the server waits on the select function and i'm not able to read from stdin
how can i solve this ?