[fpc-pascal] Re: Odyssey: SSockets and Threads.

silvioprog silvioprog at gmail.com
Thu Apr 25 20:52:56 CEST 2013


2013/4/25 silvioprog <silvioprog at gmail.com>

> Very nice article:
>
> http://www.bastisoft.de/programmierung/pascal/pasinet.html
>
> Outdated, but very very nice. :)
>

in...:


repeat
   put all sockets currently connected in the read set;
   put the listening socket in the read set;
   Select(read set, no other sets, no timeout);
   respond to all sockets that are left in the read set;
until false;

:o So I need of "Select" function. If I am not mistaken it is not being
used in ssockets. I'll to do it manually. I will implement it on my own.

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130425/5d419d5b/attachment.html>


More information about the fpc-pascal mailing list