[fpc-pascal]Server
Michael.VanCanneyt at Wisa.be
Michael.VanCanneyt at Wisa.be
Thu Jan 11 13:02:51 CET 2001
On Thu, 11 Jan 2001, Sebastian [iso-8859-1] Günther wrote:
> FPC Mail list reader wrote:
> >
> > But how can you, for example, do a server which can service more than 256
> > connections at the same time with select() ? If i'm not wrong, the fdset
> > type only allows checking for 256 descriptors ...
>
> With a standard kernel, yes. But it's possible to increase this number
> in the kernel. IIRC there has been some talk about this in the Linux
> kernel mailing list some time ago...
Or you can use 'poll' which does the same as 'select' only it can handle
an infinite amount (well, as much filedescriptors as Linux has) of file
descriptors.
Michael.
More information about the fpc-pascal
mailing list