2009/5/14 Koenraad Lelong <fpas...@brouwerij.homelinux.net>:
>
> My "big" logs are 1.6M per day, but they are about 5000 lines at the end
> of the day. Wouldn't it be a waste to read the last line of such a big
> file ?
> My last remark was about sending a signal via php (it does support
> sending signals) and then writing the desired value to a file which
> would be a single line, and then php reads this file. There could be
> problems with concurrency, although the website will only be available
> at home, so the number of possible users will be limited.
> I will read about IPC and sockets. Do you have any good references at
> hand about these ? I think googling will be difficult, but I will.

as Joost mentioned, TSimpleIPCServer is available for fpc (i haven't
used it, though).  otherwise you can look at the bind(2) manpage for
an example of sockets in linux.

henry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to