29 const size_t c_growrate = 50;
31 for (
size_t i = 0; i < c_growrate; i++)
const uint32_t MAX_STUN_MESSAGE_SIZE
CDataStream & GetStream()
void SetRole(SocketRole role)
CStunMessageReader _reader
void ReleaseConnection(StunConnection *pConn)
StunConnection * _freelist
CRefCountedBuffer _spReaderBuffer
CRefCountedBuffer _spOutputBuffer
StunConnection * GetConnection(int sock, SocketRole role)
boost::shared_ptr< CBuffer > CRefCountedBuffer
void Attach(CRefCountedBuffer &buffer, bool fForWriting)
void ResetConnection(StunConnection *pConn)
StunConnectionState _state