URIReader optimizations/improvements, support for getHost/getBinHost functions, socket lib improvements + related improvements

This commit is contained in:
Thulinma 2023-04-10 03:45:14 +02:00
parent 4df771eb02
commit 1df76eff16
6 changed files with 70 additions and 42 deletions

View file

@ -357,7 +357,7 @@ namespace Comms{
dataPage.init(userPageName, 0, false, false);
if (!dataPage){
std::string host;
Socket::hostBytesToStr(ip.data(), 16, host);
Socket::hostBytesToStr(ip.data(), ip.size(), host);
pid_t thisPid;
std::deque<std::string> args;
args.push_back(Util::getMyPath() + "MistSession");