| 169 | ); |
| 170 | |
| 171 | TCPObject *TCPObject::find(NetSocket tag) |
| 172 | { |
| 173 | for(TCPObject *walk = table[tag.getHash() & TableMask]; walk; walk = walk->mNext) |
| 174 | if(walk->mTag.getHash() == tag.getHash()) |
| 175 | return walk; |
| 176 | return NULL; |
| 177 | } |
| 178 | |
| 179 | void TCPObject::addToTable(NetSocket newTag) |
| 180 | { |
no test coverage detected