Changeset 9585 in orxonox.OLD for branches/proxy
- Timestamp:
- Jul 28, 2006, 10:38:43 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/proxy/proxy_control.cc
r9584 r9585 116 116 { 117 117 // body data length correct? 118 if ( dataLength != INTSIZE )118 if ( dataLength != 2 * INTSIZE ) 119 119 { 120 120 PRINTF(2)("new client message has wrong size: %d\n", dataLength ); … … 132 132 PeerInfo* pInfo = new PeerInfo(); 133 133 pInfo->bLocal = false; 134 pInfo->ip = IP(ipHost, 0);134 pInfo->ip = IP(ipHost, 9999); 135 135 pInfo->nodeType = NET_CLIENT; 136 136 netMon->addNode(pInfo); 137 137 138 PRINTF(0)("Got Signal: from %i new player arrived with userId: %i \n", senderId, newClientId);138 PRINTF(0)("Got Signal: from %i new player arrived with userId: %i and ip: %i\n", senderId, newClientId, pInfo->ip.ipString().c_str()); 139 139 // part for the master server 140 140 if( SharedNetworkData::getInstance()->isMasterServer())
Note: See TracChangeset
for help on using the changeset viewer.