[Live-devel] Remove usage of select syscall on Linux

Ross Finlayson finlayson at live555.com
Fri Aug 21 10:31:49 PDT 2026



> On Aug 21, 2026, at 9:56 AM, Russell Greene via live-devel <live-devel at us.live555.com> wrote:
> 
> 
> From: Russell Greene <russell at shotover.com>
> Subject: Re: [Live-devel] Remove usage of select syscall on Linux
> Date: August 21, 2026 at 9:56:44 AM PDT
> To: "LIVE555 Streaming Media - development & use" <live-devel at us.live555.com>
> 
> 
> FD_SETSIZE is defined correctly, but doesn't that represent a pretty artificial limitation of live555

It represents, perhaps, a ‘limitation’ of the “BasicTaskScheduler”, which is - as its name suggests - a ‘basic’ implementation of a task scheduler (that, nonetheless, has been useful for hundreds of people for more than two decades).

If you really want to have a scheduler that allows more than 1024 sockets, then feel free to implement your own subclass of “TaskScheduler”.  (If you wish, you could contribute this to the project as open source.)  Or perhaps you might find that your system performs better if you can restructure it into multiple independent processes, rather than a single thread of control running within one process.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list