Listen on any address

develop
Japa 2017-10-02 20:48:05 +05:30
parent 8dffd48f70
commit cbeb241435
1 changed files with 1 additions and 1 deletions

@ -379,7 +379,7 @@ bool ServerMain::listen(int port)
socket->Initialize();
if (!socket->Listen("127.0.0.1", port))
if (!socket->Listen(NULL, port))
return false;
thread = new tthread::thread(threadFn, this);