- Timestamp:
- Jul 12, 2006, 1:56:38 PM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_stream.cc
r9252 r9254 92 92 this->init(); 93 93 this->serverSocket = new UdpServerSocket(port); 94 this->bActive = true;94 // this->bActive = true; 95 95 } 96 96 … … 103 103 /* set the class id for the base object */ 104 104 this->setClassID(CL_NETWORK_STREAM, "NetworkStream"); 105 this->bActive = false;105 // this->bActive = false; 106 106 this->serverSocket = NULL; 107 107 this->networkGameManager = NULL; … … 198 198 sync.setNetworkStream( this ); 199 199 200 this->bActive = true;200 // this->bActive = true; 201 201 } 202 202 -
branches/proxy/src/lib/network/network_stream.h
r9252 r9254 50 50 inline bool isProxyServer() const { return (this->type == NET_PROXY_SERVER)? true:false; } 51 51 inline bool isClient() const { return (this->type == NET_CLIENT)? true:false; } 52 inline bool isActive() const { return this->bActive; }52 // inline bool isActive() const { return this->bActive; } 53 53 inline int getMaxConnections(){ return MAX_CONNECTIONS; } 54 54 … … 87 87 int type; //!< the type of this host (NET_CLIENT, NET_MASTER_SERVER,...) 88 88 int myHostId; //!< the host id of the localhost 89 bool bActive;//!< true if this host is active89 /* bool bActive; */ //!< true if this host is active 90 90 91 91 std::list<int> freeSocketSlots; //!< list of free sockets (to ensure not to resycle sockets)
Note: See TracChangeset
for help on using the changeset viewer.