diff --git a/public/inetchannel.h b/public/inetchannel.h index 16bd7e46..1d014062 100644 --- a/public/inetchannel.h +++ b/public/inetchannel.h @@ -71,7 +71,6 @@ public: virtual void SetFileTransmissionMode(bool bBackgroundMode) = 0; virtual void SetCompressionMode( bool bUseCompression ) = 0; virtual unsigned int RequestFile(const char *filename) = 0; - virtual float GetTimeSinceLastReceived( void ) const = 0; // get time since last received packet in seconds virtual void SetMaxBufferSize(bool bReliable, int nBytes, bool bVoice = false ) = 0; @@ -83,6 +82,8 @@ public: // Max # of payload bytes before we must split/fragment the packet virtual void SetMaxRoutablePayloadSize( int nSplitSize ) = 0; virtual int GetMaxRoutablePayloadSize() = 0; + + virtual int GetProtocolVersion() = 0; };