Expose 'socket send/receive buffer size' options

Closes #18794.
This commit is contained in:
Chocobo1
2023-04-05 17:33:45 +08:00
parent 40e28930a4
commit 77411760a0
8 changed files with 97 additions and 2 deletions

View File

@@ -328,6 +328,10 @@ namespace BitTorrent
virtual void setSendBufferWatermarkFactor(int value) = 0;
virtual int connectionSpeed() const = 0;
virtual void setConnectionSpeed(int value) = 0;
virtual int socketSendBufferSize() const = 0;
virtual void setSocketSendBufferSize(int value) = 0;
virtual int socketReceiveBufferSize() const = 0;
virtual void setSocketReceiveBufferSize(int value) = 0;
virtual int socketBacklogSize() const = 0;
virtual void setSocketBacklogSize(int value) = 0;
virtual bool isAnonymousModeEnabled() const = 0;