Added network sink and fixes to the networking lib

This commit is contained in:
Ryzerth
2021-07-30 21:56:34 +02:00
parent 1aa2c064f7
commit 7f4557527e
9 changed files with 489 additions and 28 deletions

View File

@ -200,7 +200,7 @@ private:
void startServer() {
try {
listener = net::listen(net::PROTO_TCP, hostname, port);
listener = net::listen(hostname, port);
listener->acceptAsync(clientHandler, this);
}
catch (std::exception e) {