* allow port to be specified on command line

* use a standard port as default

git-svn-id: trunk@37949 -
This commit is contained in:
svenbarth 2018-01-12 16:14:25 +00:00
parent 84632a39e0
commit 16fb199902

View File

@ -3,10 +3,10 @@ program echo;
{$mode objfpc}{$H+}
uses
fphttpapp, wmecho;
SysUtils, fphttpapp, wmecho;
begin
Application.Port:=2018;
Application.Port:=StrToIntDef(ParamStr(1), 8080);
Application.Initialize;
Application.Run;
end.