On Aug 18,  5:10pm, fwei...@redhat.com (Florian Weimer) wrote:
-- Subject: Re: RFR [9] 8035897 : FD_SETSIZE should be set on macosx

| On 02/28/2014 03:40 PM, Chris Hegarty wrote:
| > Either:
| >   1) FD_SETSIZE needs to be set to a larger value, but what value, the
| >      kernel limit, or other? This is wasteful for most typical apps that
| >      don't use large numbers of file descriptors. Or,
| >   2) If fd is greater than 1024, then an appropriate amount of memory
| >      could be allocated and cast to an fd_set. The FD_SET macro will
| >      write past FD_SETSIZE.
| 
| 3) use poll
| 
| Why do we have to use select here?

Because poll is still broken on UDP sockets.

christos

Reply via email to