Table of Contents

setNetPort

(int port)Set the network port for the game to use.

Syntax

bool setNetPort(int %port);

Parameters

int %port
No description available.

Return value

bool
No description available.

Remarks

Examples

Source

Engine

See also

createCanvas
getBuildString
getCompileTimeString
getLAN_BLID
getModPaths
getNetPort
getPlatform
getRealTime
getSimTime
getVersionNumber
getVersionString
isMacintosh
isWindows
lockMouse
playJournal
saveJournal
setModPaths

References

portInit: base/server/mainServer.cs:988
initClient: base/client/init.cs:112