ArcBasicDocs

HostNetGame

Hosts a network game.

HostNetGame ( game_name$ )

Parameters

game_name$
the name other computers on the network see.

Description

Starts a network game on this computer for others to join, without asking the player, and gives back 2 if it worked or 0 if it didn't. Other computers find it with StartNetGame, or join it directly with JoinNetGame. Only one game can be hosted on a computer at a time. If the hosting computer leaves, the game ends for everyone (see NetMsgType).

See also