Exported cServerHandle and cNetwork:Listen to Lua.
Also added an example to the NetworkTest plugin.
This commit is contained in:
@@ -119,6 +119,7 @@ void DoTest(void)
|
||||
LOG("Server terminating.");
|
||||
Server->Close();
|
||||
ASSERT(!Server->IsListening());
|
||||
Server.reset();
|
||||
LOGD("Server has been closed.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user