On Mon, May 3, 2010 at 9:37 AM, Rainer Stratmann <rainerstratm...@t-online.de> wrote: > I don't know what CGI is. Nevertheless I was able to program a webserver > completely in freepascal. It isn't that complicate (if you have time). > If a connection comes in then I prove how many connections are already open, > and if it exceeds the max_connection value (which I set to 20 now) then I > close immediately the new incoming connection. If you want I show you sample > code. I work with nonblocked sockets. So everything is in one thread.
I will appreciate it very much see this code, thanks! -- Marcos Douglas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal