Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7764


Ignore:
Timestamp:
Dec 15, 2010, 2:56:28 PM (13 years ago)
Author:
smerkli
Message:

disconnect works now.

Location:
code/branches/presentation/src/libraries/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/libraries/network/Server.cc

    r7763 r7764  
    104104  void Server::helper_ConnectToMasterserver()
    105105  {
    106     //[> initialize it and see if it worked <]
    107     //if( msc.initialize() )
    108     //{ COUT(1) << "Error: could not initialize master server communications!\n";
    109       //return;
    110     //}
    111 
    112     //[> connect and see if it worked <]
    113     //if( msc.connect( WANDiscovery::getInstance().getMSAddress().c_str(),
    114       //ORX_MSERVER_PORT ) )
    115     //{ COUT(1) << "Error: could not connect to master server!\n";
    116       //return;
    117     //}
    118 
    119     /* now send the master server some note we're here */
    120     //msc.sendRequest( MSPROTO_GAME_SERVER " " MSPROTO_REGISTER_SERVER );
    121106    WANDiscovery::getInstance().msc.sendRequest( MSPROTO_GAME_SERVER " "
    122107      MSPROTO_REGISTER_SERVER );
  • code/branches/presentation/src/libraries/network/Server.h

    r7763 r7764  
    9090
    9191    float timeSinceLastUpdate_;
    92     //MasterServerComm msc;
    9392  };
    9493
Note: See TracChangeset for help on using the changeset viewer.