The select() function

This is a discussion on The select() function within the C Programming forums, part of the General Programming Boards category; Hello all, for some reason I have to learn how to use the select() function, could someone give (or make...) ...

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    2

    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.

    Thanks.

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    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
    Location
    Still in the egg
    Posts
    269
    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
    Location
    Oregon, USA
    Posts
    3,164
    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, 02:07 AM
  3. doubt in c parser coding
    By akshara.sinha in forum C Programming
    Replies: 4
    Last Post: 12-23-2007, 12:49 PM
  4. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 01:53 AM
  5. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 06:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21