Changeset 8858 for code/trunk/src/libraries/network/ServerConnection.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/ServerConnection.cc
r8358 r8858 34 34 #include <enet/enet.h> 35 35 36 #include "util/ Debug.h"36 #include "util/Output.h" 37 37 #include <util/Sleep.h> 38 38 // #include "ClientInformation.h" … … 61 61 { 62 62 if (enet_address_set_host (this->bindAddress_, bindAddress.c_str()) < 0) 63 COUT(1) << "Error: Could not resolve \"" << bindAddress << "\"." << std::endl;63 orxout(internal_error, context::network) << "Could not resolve \"" << bindAddress << "\"." << endl; 64 64 } 65 65 … … 75 75 if ( this->host_ == NULL ) 76 76 { 77 COUT(1) << "ServerConnection: host_ == NULL" << std::endl;77 orxout(internal_error, context::network) << "ServerConnection: host_ == NULL" << endl; 78 78 return false; 79 79 } … … 83 83 assert( this->host_->socket4 != ENET_SOCKET_NULL || this->host_->socket6 != ENET_SOCKET_NULL ); 84 84 if (this->host_->socket4 == ENET_SOCKET_NULL) 85 COUT(2) << "Warning: IPv4 Socket failed." << std::endl;85 orxout(internal_warning, context::network) << "IPv4 Socket failed." << endl; 86 86 else if (this->host_->socket6 == ENET_SOCKET_NULL) 87 COUT(2) << "Warning: IPv6 Socket failed." << std::endl;87 orxout(internal_warning, context::network) << "IPv6 Socket failed." << endl; 88 88 else 89 COUT(3) << "Info: Using IPv4 and IPv6 Sockets." << std::endl;89 orxout(internal_info, context::network) << "Using IPv4 and IPv6 Sockets." << endl; 90 90 91 91 // start communication thread … … 114 114 // ClientInformation *temp = ClientInformation::findClient(clientID); 115 115 // if(!temp){ 116 // COUT(3) << "C.Man: addPacket findClient failed" << std::endl;116 // orxout(internal_warning, context::network) << "C.Man: addPacket findClient failed" << endl; 117 117 // } 118 118 Connection::addPacket(packet, clientID, channelID);
Note: See TracChangeset
for help on using the changeset viewer.