Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 4, 2009, 5:04:58 PM (16 years ago)
Author:
scheusso
Message:

some changes for testing purpose

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp2/src/network/ConnectionManager.cc

    r2836 r2953  
    190190
    191191    event = new ENetEvent;
    192     while(!quit){
     192    while(!quit)
     193    {
    193194      { //mutex scope
    194195        boost::recursive_mutex::scoped_lock lock(enet_mutex_g);
    195196        if(enet_host_service(server, event, NETWORK_WAIT_TIMEOUT)<0){
    196197          // we should never reach this point
    197           assert(0);
    198198          quit=true;
    199199          continue;
     200          printf("waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhh");
    200201          // add some error handling here ========================
    201202        }
     
    205206        // log handling ================
    206207        case ENET_EVENT_TYPE_CONNECT:
     208          printf("====================================================================");
    207209        case ENET_EVENT_TYPE_DISCONNECT:
    208210        case ENET_EVENT_TYPE_RECEIVE:
Note: See TracChangeset for help on using the changeset viewer.