Thread: The select() function

  1. #1
    Registered User
    Join Date
    Apr 2006

    Question The select() function

    Hello all,
    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.


  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  3. #3
    Just kidding.... fnoyan's Avatar
    Join Date
    Jun 2003
    Still in the egg
    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?

  4. #4
    Gawking at stupidity
    Join Date
    Jul 2004
    Oregon, USA
    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.
    If you understand what you're doing, you're not learning anything.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 05-13-2011, 08:28 AM
  2. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  3. doubt in c parser coding
    By akshara.sinha in forum C Programming
    Replies: 4
    Last Post: 12-23-2007, 01:49 PM
  4. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 02:53 AM
  5. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM