IsConnected
IsConnected

Checks if the object is currently connected to a server or other computer.

bSuccess = myNetwork.IsConnected( )

Return value
TRUE if it is connected, otherwise FALSE.

Comments

Checking this in a while loop, i.e. While( !oJAM.Network.IsConnected( ) ); after calling Connect will cause the game to wait until it connects. However, it is possible that it will never be able to connect, so a cancel option should be included.

See also
Network:Connect
Network:Disconnect



JAM © 2005 no one in partiular
Project started by David Evans in 2005