diff options
Diffstat (limited to 'tools/socket.h')
-rw-r--r-- | tools/socket.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/socket.h b/tools/socket.h index d1a7d62..23272ec 100644 --- a/tools/socket.h +++ b/tools/socket.h @@ -68,6 +68,9 @@ public: an appropriate value. */ virtual bool Accept(const cTBSocket &Listener); + /* Sets DSCP sockopt */ + bool SetDSCP(void); + /* LocalPort() returns the port number this socket is connected to locally. The result is undefined for a non-open socket. */ int LocalPort(void) const { return ntohs(m_LocalAddr.sin_port); } |