
|
[openbeosnetteam]
||
[Date Prev]
[04-2002 Date Index]
[Date Next]
||
[Thread Prev]
[04-2002 Thread Index]
[Thread Next]
[openbeosnetteam] Re: Ping & timers...
- From: "Philippe Houdoin" <philippe.houdoin@xxxxxxx>
- To: openbeosnetteam@xxxxxxxxxxxxx
- Date: Tue, 2 Apr 2002 13:25:11 -0500 (EST)
> Here's your follow up question for 10pts...
"Same player, new game"?
;-)
> How do we timeout a select event? If I call select() for 10seconds,
who is
> responsible for saying after 10secs that there has been no event...
The kernel select() call, which the driver call in NET_SOCKET_SELECT
ioctl, handle this for us, don't worry.
> Also, every time we call select for a socket with more than 1 "flag"
set we
> get multiple notifications, so this needs to be borne in mind... Hmm,
> thinking...
Yep, but not for the same *cookie/event* pair. Its why the selectsync /
ref need to be
attach to/store in a specific cookie / aka struct socket and event pair
in net_socket_select().
-Philippe.
--
Fortune Cookie Says:
Death is nature's way of telling you to slow down
|

|