[fpc-pascal]sockets (a beginer's question) (client-server)

Ivan Petrov jhs at bse.bg
Tue Jun 10 21:58:57 CEST 2003


Sorry for the spam!
Thank you! I found it.

But afterthe "Accept(S, FromName, Sin, Sout);"
how to tell to Select that I mean Sin as a parameter (file descriptor?) ?
There are a LongInt and  pointers in Select's definition...


On Tuesday 10 June 2003 10:44, Michael Van Canneyt wrote:
>
> You should use the select() call from the linux unit.
> This will check if data is available on some file descriptor.
> You can set a timeout.
>
> Examples are provided in the documentation.
>
> Michael.





More information about the fpc-pascal mailing list