Start (Method)

From Legacy Roblox Wiki
Jump to navigationJump to search
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
Start( int port[, int threadSleepTime] )
Returns nil
Description: Starts a server on the specified port
Member of: NetworkServer



Example
game:GetService("NetworkServer"):Start(53640) -- Starts a server on port 53640, the same port used by Tools -> Test -> Start Server