| 270 | } |
| 271 | |
| 272 | void ConnectionProtocol::writeDemoStartBlock(ResizeBitStream *stream) |
| 273 | { |
| 274 | for(U32 i = 0; i < 32; i++) |
| 275 | stream->write(mLastSeqRecvdAtSend[i]); |
| 276 | stream->write(mLastSeqRecvd); |
| 277 | stream->write(mHighestAckedSeq); |
| 278 | stream->write(mLastSendSeq); |
| 279 | stream->write(mAckMask); |
| 280 | stream->write(mConnectSequence); |
| 281 | stream->write(mLastRecvAckAck); |
| 282 | stream->write(mConnectionEstablished); |
| 283 | } |
| 284 | |
| 285 | bool ConnectionProtocol::readDemoStartBlock(BitStream *stream) |
| 286 | { |