Changeset 8858 for code/trunk/src/libraries/network/LANDiscoverable.cc
- Timestamp:
- Aug 23, 2011, 12:45:53 AM (13 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore
-
old new 1 1 build 2 2 codeblocks 3 vs 3 4 dependencies
-
- Property svn:mergeinfo changed
/code/branches/output (added) merged: 8739-8740,8765,8771-8772,8774-8780,8787-8789,8794-8799,8801,8803-8812,8814,8816-8817,8820,8822,8825-8837,8840,8844,8846,8848-8850,8853-8854
- Property svn:ignore
-
code/trunk/src/libraries/network/LANDiscoverable.cc
r8351 r8858 33 33 #include <cstring> 34 34 35 #include "util/ Debug.h"35 #include "util/Output.h" 36 36 #include "packet/ServerInformation.h" 37 37 … … 71 71 this->host_ = enet_host_create( &bindAddress, 10, 0, 0, 0 ); 72 72 if ( this->host_ == NULL ) 73 COUT(1) << "LANDiscoverable: host_ == NULL" << std::endl;73 orxout(internal_error, context::network) << "LANDiscoverable: host_ == NULL" << endl; 74 74 } 75 75 else … … 94 94 { 95 95 case ENET_EVENT_TYPE_CONNECT: 96 COUT(4) << "Received LAN discovery connect from client " << event.peer->host->receivedAddress << std::endl;96 orxout(verbose, context::network) << "Received LAN discovery connect from client " << event.peer->host->receivedAddress << endl; 97 97 break; 98 98 case ENET_EVENT_TYPE_DISCONNECT: … … 102 102 if( strcmp( LAN_DISCOVERY_MESSAGE, (char*)event.packet->data ) == 0 ) // check for a suitable orxonox client 103 103 { 104 COUT(3) << "Received LAN discovery message from client " << event.peer->host->receivedAddress << std::endl;104 orxout(internal_info, context::network) << "Received LAN discovery message from client " << event.peer->host->receivedAddress << endl; 105 105 packet::ServerInformation info; 106 106 info.setServerName("Orxonox Server");
Note: See TracChangeset
for help on using the changeset viewer.