Socket Server... Why two?
djake_at_excite.it
Date: 12/13/04
- Next message: Jens.Toerring_at_physik.fu-berlin.de: "Re: Using Poll on RedHat Enterprise"
- Previous message: Tom: "mail from unix to windows"
- Next in thread: dragoncoder: "Re: Socket Server... Why two?"
- Reply: dragoncoder: "Re: Socket Server... Why two?"
- Reply: dragoncoder: "Re: Socket Server... Why two?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 13 Dec 2004 01:49:10 -0800
What's the difference between a socket server done in this way:
accept() -> select() -> recv() --- in a blocking way ---
And a socket server done in this way?
accept() -> recv() --- in a blocking way ---
Both wait for data to be received before to unblock. But what's the
advantage and disavantage in the first and in second solution?
Thanks in advance
- Next message: Jens.Toerring_at_physik.fu-berlin.de: "Re: Using Poll on RedHat Enterprise"
- Previous message: Tom: "mail from unix to windows"
- Next in thread: dragoncoder: "Re: Socket Server... Why two?"
- Reply: dragoncoder: "Re: Socket Server... Why two?"
- Reply: dragoncoder: "Re: Socket Server... Why two?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|