Thread: Sockets, questions.

  1. #1
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807

    Sockets, questions.

    What is async sockets, raw sockets and stream sockets.

    I don't understand all this things, thanks

  2. #2
    Registered User
    Join Date
    Aug 2002
    Posts
    109

    Smile

    There is some info. about stream sockets here http://www.ecst.csuchico.edu/~beej/guide/net/html/ but I not sure about the others. I know if you do a search at google you will find somthing on raw sockets but I haven't heard of the other type (But I don't know much about sockets )
    OS:- XP
    Compiler:- MSVC++ 6 or DJGPP or Dev-c++ (Mingw)

  3. #3
    fou
    Guest
    I think that the OP means non-blocking sockets when he refers to 'async sockets'.

    This simply means that a socket function (connect, recv,send) will not block when called. The application has to use some method to find out when a socket is ready to be read/sent on or when a socket connection attempt has succeeded of failed. The standard function to do this is select().

    This allows a program to do something else while waiting for a socket operation - often working with other sockets.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. multiple connections via sockets
    By cope in forum Networking/Device Communication
    Replies: 7
    Last Post: 06-07-2007, 10:35 AM
  2. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 05:36 AM
  3. Several Questions, main one is about protected memory
    By Tron 9000 in forum C Programming
    Replies: 3
    Last Post: 06-02-2005, 07:42 AM
  4. Trivial questions - what to do?
    By Aerie in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 12-26-2004, 09:44 AM
  5. Starting window sockets
    By _Cl0wn_ in forum Windows Programming
    Replies: 2
    Last Post: 01-20-2003, 11:49 AM