<div dir="ltr"><div>FD_SETSIZE is defined correctly, but doesn't that represent a pretty artificial limitation of live555, considering there are ways to get select-style functionality?</div><div><br></div><div>And this is not a niche system, at least all glibc linux systems have this issue?</div><div><br></div><div>We can probably get away with our own task scheduler and not patching live555, so that's good at least.</div><div><br></div><div>Russell</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Aug 19, 2026 at 8:37 PM Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On Aug 19, 2026, at 1:22 PM, Russell Greene via live-devel <<a href="mailto:live-devel@us.live555.com" target="_blank">live-devel@us.live555.com</a>> wrote:<br>
> <br>
> We are auditing all our code and dependencies for usage of `select` as it is not safe to use on applications with more than 1024 open fds<br>
<br>
Assuming that’s true, our implementation of “BasicTaskScheduler” does not allow socket numbers > FD_SETSIZE. Is FD_SETSIZE not defined to be 1024 (or less) on these systems??<br>
<br>
If you want to a scheduler that uses something other than “select()”, then the way to do this would be to define and implement your own subclass of “TaskScheduler” - not change the “BasicTaskScheduler” code, which, as its name suggests, is just a ‘basic’ scheduler (that nonetheless most people have been happily using for more than two decades).<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" rel="noreferrer" target="_blank">http://www.live555.com/</a><br>
<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" rel="noreferrer" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
</blockquote></div>