I am building a multi-threaded HTTP server. This is part of a university course I am taking. The server needs to have a dedicated thread which has to listen to incoming HTTP requests and insert them in a ready queue from where a scheduling thread will assign execution threads.
I don't know how to do that. If anyone could explain the direction in which I should proceed it would be very helpful.
[I had recently asked an unrelated question here: How to parse HTTP requests from a C based web server ]