Changeset 237 for Network/CoolWeb/WebServer/UHTTPServerTCP.pas
- Timestamp:
- Apr 30, 2011, 10:54:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Network/CoolWeb/WebServer/UHTTPServerTCP.pas
r94 r237 14 14 THTTPServerTCP = class(THTTPServer) 15 15 private 16 FMaxConnection: Integer; 16 17 procedure HandleClient(Sender: TObject); 17 18 public 18 19 Socket: TTCPServer; 19 MaxConnection: Integer;20 20 RequestHandlerList: TRequestHandlerList; 21 constructor Create ;21 constructor Create(AOwner: TComponent); override; 22 22 destructor Destroy; override; 23 published 24 property MaxConnection: Integer read FMaxConnection write FMaxConnection; 23 25 end; 26 27 procedure Register; 24 28 25 29 implementation 26 30 31 procedure Register; 32 begin 33 RegisterComponents('CoolWeb', [THTTPServerTCP]); 34 end; 35 27 36 procedure THTTPServerTCP.HandleClient(Sender: TObject); 28 37 var 29 RequestHandler: TRequestHandler;30 38 Line: string; 31 39 LineIndex: Integer; … … 119 127 { THTTPServerTCP } 120 128 121 constructor THTTPServerTCP.Create ;129 constructor THTTPServerTCP.Create(AOwner: TComponent); 122 130 begin 123 131 inherited;
Note:
See TracChangeset
for help on using the changeset viewer.