ZRColaWS: Set default listen port to 54591
The 8000 is Oat++ sample port. Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
c6f844775f
commit
f523d12fa1
@ -147,7 +147,7 @@ int main(int argc, const char* argv[])
|
||||
sigaction(SIGINT, &sigIntHandler, NULL);
|
||||
|
||||
oatpp::String host = cmdArgs.getNamedArgumentValue("--host", "localhost");
|
||||
v_uint16 port = oatpp::utils::conversion::strToInt32(cmdArgs.getNamedArgumentValue("--port", "8000"));
|
||||
v_uint16 port = oatpp::utils::conversion::strToInt32(cmdArgs.getNamedArgumentValue("--port", "54591"));
|
||||
oatpp::network::Address::Family family = oatpp::network::Address::UNSPEC;
|
||||
if (cmdArgs.hasArgument("-4"))
|
||||
family = oatpp::network::Address::IP_4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user