STATE_multiplayer_connect

 

 

  




  This function initialize a multiplayer session.
  This function must be called before any multiplayer communication can take place.
  
   Aruments:
  ----------
   host:
  		If TRUE then this computer will become the host of the game.
  		Usually the application should ask the user whether he wants to join an existing session or
  		to start a new session on his computer.
  
   ip_address:
  		Should be null if host==TRUE.
  		If host==FALSE then this should be the IP or the domain name of the game \ application we want to join.
  
   player_name:
    The name of the player. 
  
   Game_name:
    The name of the game. If there are several sessions running on the given host then 
  	only the session that matches this name will be chosen.
   
  
   Please also note that STATE_multiplayer_connect() can only connect to sessions that are based on the 3DSTATE Engine. 
  
   Return value:
   OK or VR_ERROR.

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com