Documentation
›
API Reference
›
Object
›
Server
Create
Lua
C++
This function creates a new server for hosting games.
Syntax
Server*
Create
(const int port=8888)
Parameters
port:
the port for clients to connect to.
Returns
Returns a new network server.