Tcp.cc File Reference
Include dependency graph for Tcp.cc:
Go to the source code of this file.
Functions | |
template<typename Option > | |
static bool | SetSocketOption (const int fd, const int level, const int optName, const Option &optValue) |
setsockopt(2) wrapper More... | |
static bool | SetBooleanSocketOption (const int fd, const int level, const int optName, const bool enable) |
setsockopt(2) wrapper for setting typical on/off options More... | |
Function Documentation
◆ SetBooleanSocketOption()
|
static |
Definition at line 44 of file Tcp.cc.
References SetSocketOption().
Referenced by Comm::ApplyTcpKeepAlive().
◆ SetSocketOption()
template<typename Option >
|
static |
Definition at line 29 of file Tcp.cc.
References DBG_IMPORTANT, debugs, and xstrerr().
Referenced by Comm::ApplyTcpKeepAlive(), and SetBooleanSocketOption().