Scripting/Squirrel/Functions/Socket.Start
From Vice City Multiplayer [MIRROR]
This function will make the socket listen for connections on the specified port.
Contents
Syntax
Socket.Start( port, maxConn )
Arguments
- int port - The port to listen on. This cannot be in use (like your server port).
- int maxConn - The maximum amount of clients it can handle at the same time.
Example
Please refer to the Socket Example for a advanced usage of all socket functions.