Hi all,
I'm trying to do an HTTPserver daemon under linux.
I reduced the HTTPserver demo main program to the following lines:
program fpmain;
{$MODE Delphi}
uses
cthreads,
crt,
Classes,
http;
var
dm: TTCPHttpDaemon;
begin
dm := TTCPHttpDaemon.create;
readln;
dm.Free;
end.
compiled with fpc successfully, and run it.
I can see with netstat the program is listening on port 80 (yes, I am
root - and no port 80 was not yet in use).
I can not connect to the program. I put some debug writelns into the
thread, and see it spinning, but does not come to a successfull CanRead
(1000)
Yes, if I instead run the httpd of my linux, I can connect to the http
server.
I'm using the latest release of synapse, the latest release of fpc and
fedora 6 up to date.
I did the same on kylix some weeks before and that worked, but want to
port it to fpc because this is a supported development platform, while
kylix no longer is.
Can somebody please kick me in the right direction please.
Best regards
Thomas
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public