Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9869 in orxonox.OLD for trunk/src/lib/network/tcp_socket.cc


Ignore:
Timestamp:
Oct 3, 2006, 12:19:30 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/network/tcp_socket.cc

    r7954 r9869  
    3030#include "debug.h"
    3131
     32ObjectListDefinition(TcpSocket);
    3233/**
    3334 * Default constructor
     
    6061{
    6162  /* set the class id for the base object */
    62   this->setClassID(CL_NETWORK_SOCKET, "TcpSocket");
     63  this->registerObject(this, TcpSocket::_objectList);
    6364
    6465  tcpSocket = NULL;
     
    122123{
    123124  IPaddress ip;
    124  
    125   bOk = true; 
    126  
     125
     126  bOk = true;
     127
    127128  if ( SDLNet_ResolveHost( &ip, host.c_str(), port ) != 0 )
    128129  {
     
    131132    return;
    132133  }
    133  
     134
    134135  //check if not already connected or listening
    135136  if (tcpSocket)
     
    345346}
    346347#endif
    347  
     348
    348349  PRINTF(0)("QUIT READ THREAD\n");
    349  
     350
    350351  return 0;
    351352}
     
    425426
    426427  return 0;
    427  
     428
    428429}
    429430
Note: See TracChangeset for help on using the changeset viewer.