net/SocketDescriptor: add method SetKeepAlive()
This commit is contained in:
@@ -141,6 +141,7 @@ public:
|
||||
return SetOption(level, name, &value, sizeof(value));
|
||||
}
|
||||
|
||||
bool SetKeepAlive(bool value=true);
|
||||
bool SetReuseAddress(bool value=true);
|
||||
|
||||
#ifdef __linux__
|
||||
|
Reference in New Issue
Block a user