Changeset 9869 in orxonox.OLD for trunk/src/lib/network/tcp_socket.cc
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/network/tcp_socket.cc
r7954 r9869 30 30 #include "debug.h" 31 31 32 ObjectListDefinition(TcpSocket); 32 33 /** 33 34 * Default constructor … … 60 61 { 61 62 /* set the class id for the base object */ 62 this-> setClassID(CL_NETWORK_SOCKET, "TcpSocket");63 this->registerObject(this, TcpSocket::_objectList); 63 64 64 65 tcpSocket = NULL; … … 122 123 { 123 124 IPaddress ip; 124 125 bOk = true; 126 125 126 bOk = true; 127 127 128 if ( SDLNet_ResolveHost( &ip, host.c_str(), port ) != 0 ) 128 129 { … … 131 132 return; 132 133 } 133 134 134 135 //check if not already connected or listening 135 136 if (tcpSocket) … … 345 346 } 346 347 #endif 347 348 348 349 PRINTF(0)("QUIT READ THREAD\n"); 349 350 350 351 return 0; 351 352 } … … 425 426 426 427 return 0; 427 428 428 429 } 429 430
Note: See TracChangeset
for help on using the changeset viewer.