Changeset ea17281 in network-game for common/MessageProcessor.cpp


Ignore:
Timestamp:
Jul 4, 2014, 8:09:47 PM (10 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
e98426d
Parents:
a0ce8a3
Message:

Game.addPlayer takes a boolean to indicate wheter it runs on the server. If it's not, the team isn't randomly generated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/MessageProcessor.cpp

    ra0ce8a3 rea17281  
    5050
    5151   // assume we don't care about the value of socklen
    52    cout << "Waiting for message from server" << endl;
     52   //cout << "Waiting for message from server" << endl;
    5353   int ret =  recvfrom(sock, (char*)msg, sizeof(NETWORK_MSG), 0, (struct sockaddr *)source, &socklen);
    54    cout << "Returned from wait" << endl;
     54   //cout << "Returned from wait" << endl;
    5555
    5656   if (ret == -1)
Note: See TracChangeset for help on using the changeset viewer.