[openbeosnetteam] Re: Select code...

David wrote:
> This is the code I'm using and it doesn't work!

[...]

Your code doesn't show the select and deselect() hooks of the /dev/net/
socket driver..
AFAIR, there aren't implemented (yet!?). that should be implemented: 
the kernel select() 
call these on each file descriptor(s) to monitor.
If the select() hook of the driver return a error, the full select() 
will fail, I guess.

> Perhaps I need to copy the contents? 

No need to: kernel select() call is a blocking one, and can access the 
userspace 
supplied FD_SET bits all time long. 

Oh, by the way, I'm back from snowboarding trip, should be able to 
help a *little* more than previous week ;-)

-Philippe

--
Fortune Cookie Says:

"My life is a soap opera, but who has the rights?"
        -- MadameX


Other related posts: