On Fri, 15 Aug 2003, [iso-8859-2] Balázs Csaba wrote:

> Yes, maybe it is a text file problem, but I cannot solve it. Did somebody
> make same program on win32?
> Could I try it with recv(), send()? In this case how can i detect the end of
> communication?

Normally, with select() you can determine whether there is data.
with recv() and the MSG_PEEK flag, you can have a peek. This should
return 0 if there is no data or the connection was closed.

Michael.


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

Reply via email to