You are not logged in.
Pages: 1
TMyClass = class
httpServer: TSQLHttpServer;
list: TStringList;
constructor Create;
end;
constructor TMyClass .Create;
begin
list := TStringList.Create;
HttpServer := TSQLHttpServer.Create('2080',[Server]); -> exception port 2080 already in use
end;
I think that the constructor of TSQLHttpServer should be safe for object instancing, and does not start listening. Instead the "StartListening" method (like Indy TCPServer) could start the thread (bind and open listening port).
Offline
Pages: 1