On Tue, 16 Sep 2003, [iso-8859-2] Balázs Csaba wrote:

> I use non-blocking socket (after initialization i used the fcntl function).
> Accept does not waiting for client connection, so i need not use threads, I
> can make it in the main thread.
> How can I be alerted when the client socket closed from the client side?

Using select() you can see this, normally.

> Can I use textfiles as SIN and SOUT?

Yes.

> Will the eof(SIN) wait for packet?

Not if the socket is non-blocking.

Michael.

_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to