Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 10, 2010, 4:01:07 PM (14 years ago)
Author:
smerkli
Message:

done for today.

File:
1 edited

Legend:

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

    r7632 r7633  
    9999  }
    100100
     101
     102  /* TODO */
     103  void helper_ConnectToMasterserver()
     104  {
     105    /* TODO connect to master server here and say you're there */
     106  }
     107
    101108  /**
    102109  * This function opens the server by creating the listener thread
     
    107114    COUT(4) << "opening server" << endl;
    108115    this->openListener();
     116   
     117    /* make discoverable on LAN */
    109118    LANDiscoverable::setActivity(true);
    110119
    111     /* TODO connect to master server here and say you're there */
     120    /* make discoverable on WAN */
     121    helper_ConnectToMasterserver();
     122
     123    /* done */
    112124    return;
    113125  }
     
    154166    // receive and process incoming discovery packets
    155167    LANDiscoverable::update();
     168
     169    // TODO receive and process requests from master server
    156170
    157171    if ( ClientInformation::hasClients() )
Note: See TracChangeset for help on using the changeset viewer.