Add simple command interface

This commit is contained in:
Lion Kortlepel
2021-11-28 23:45:03 +01:00
parent 1e0ab6bbb3
commit 768d0466f4
6 changed files with 109 additions and 17 deletions

View File

@@ -203,7 +203,7 @@ void TNetwork::HandleDownload(SOCKET TCPSock) {
});
}
void TNetwork::Authentication(const TConnection& ClientConnection) {
void TNetwork:: Authentication(const TConnection& ClientConnection) {
auto Client = CreateClient(ClientConnection.Socket);
char AddrBuf[64];
// TODO: IPv6 would need this to be changed