select (sockets) alternative


Subject: select (sockets) alternative
From: Dick Benster (RiBenster@home.net)
Date: Thu Jan 27 2000 - 09:52:54 MST


Hi,

I remember seeing an alternative to the sockets select system call for
multiplexed synchronous I/O. I think the alternative's advantage was
that it returned a list of fds so you didn't have to search through a
bit field to find which fds need to be serviced, which gets very
wasteful of cpu cycles when you're dealing with hundreds of fds/bits.
I'm having trouble finding the alternative routine - anybody know the
name of it?

Also, is it truly more efficient (ie level 2 call direct from O/S) or
merely a wrapper over select?

Thanks,

Dick Benster



This archive was generated by hypermail 2a24 : Tue Feb 01 2000 - 17:50:59 MST