Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 8, 2010, 7:33:11 PM (13 years ago)
Author:
smerkli
Message:

documentation.

File:
1 edited

Legend:

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

    r7743 r7750  
    6161        != mainlist.serverlist.end(); ++i )
    6262    {
    63       /* WORK MARK */
    6463      /* send this particular server */
    6564      /* build reply string */
     
    8887    }
    8988
    90     /* send end-of-list packet */
     89    /* create end-of-list packet */
    9190    reply = enet_packet_create( MSPROTO_SERVERLIST_END,
    9291        MSPROTO_SERVERLIST_END_LEN + 1,
    9392        ENET_PACKET_FLAG_RELIABLE );
    9493
     94    /* send end-of-list packet */
    9595    enet_peer_send( event->peer, 0, reply );
    9696
     
    159159  { /* validate packet */
    160160    if( !event || !(event->packet) || !(event->peer) )
    161       //|| !(event->packet->data) || !strlen(event->packet->data) )
    162161    { COUT(2) << "No complete event given.\n";
    163162      return -1;
     
    168167    enet_address_get_host_ip( &(event->peer->address), addrconv, 49 );
    169168
    170     /* DEBUG */
    171     /* output debug info about the data that has come, to be removed */
     169    /* output debug info about the data that has come */
    172170    helper_output_debug( event, addrconv );
    173171
     
    275273
    276274    /***** INITIALIZE GAME SERVER AND PEER LISTS *****/
    277     //this->mainlist = new ServerList();
    278275    this->peers = new PeerList();
    279276
     
    292289    /* clear the list of connected game servers */
    293290    /* clear the list of connected game clients */
    294 
    295291  }
    296292
Note: See TracChangeset for help on using the changeset viewer.