The select() function
for some reason I have to learn how to use the select() function, could someone give (or make...) me a tutorial ?
I'd like a tutorial which would as unterstandable and as exhaustive as possible.
PS : I can read tutorials in french and in english.
Yes, Beej guide is fine but (as he said in the document) the first example given is very easy to understand but the second one (which is an chat application) is not! Is there an intermediate state?
select() is very easy to understand once you understand the fundamentals used in select(). Do your research on sockets and descriptors and then select() will seem like a walk in the park. I think you're going about this the wrong way. You should be asking for a tutorial on communications programming instead of a tutorial on select(). select() is only a function. It's like asking for a tutorial on strcpy() to understand how strings work.