Thanks Lukas.
I actually came up with something but it does not use that function:
http://www.lazarus.freepascal.org/index.php/topic,16176.0.html
Would there be any advantage of using the GroupCanRead vs the solution I
came
up with? What about the FD_SETSIZE constant, can I safely modify that to
be bigger than the default?
On Thu, Mar 1, 2012 at 9:28 AM, Lukas Gebauer <gebyl...@mlp.cz> wrote:
> > I know about select, but I can't find any examples on how to do a
> > multiplexed server with Synapse using select. Does Synapse have any
> > built in ways to use select against a list of sockets?
> >
> > How effective would it be to maintain my own list of sockets and loop
> > through them checking the CanRead property? That's basically what
> > select does if you provide it with a FD_SET of sockets right?
>
> See the GroupCanRead method of TBlockSocket.
>
>
>
> --
> Lukas Gebauer.
>
> http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.
> http://geoget.ararat.cz/ - Geocaching solution
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> synalist-public mailing list
> synalist-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/synalist-public
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public