aboutsummaryrefslogtreecommitdiffstats
path: root/util/network/socket.h
diff options
context:
space:
mode:
authorAlexey Salmin <alexey.salmin@gmail.com>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:37 +0300
commit3c5b1607b38f637d2f3313791ed25c2e080d2647 (patch)
tree99be7b96e7c66612fbca94331100ef3b5fedcb88 /util/network/socket.h
parentde89752358147d7b25ef59a85b431bb564068a49 (diff)
downloadydb-3c5b1607b38f637d2f3313791ed25c2e080d2647.tar.gz
Restoring authorship annotation for Alexey Salmin <alexey.salmin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/network/socket.h')
-rw-r--r--util/network/socket.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/network/socket.h b/util/network/socket.h
index 40c8648b40..b560e47391 100644
--- a/util/network/socket.h
+++ b/util/network/socket.h
@@ -136,11 +136,11 @@ ESocketReadStatus HasSocketDataToRead(SOCKET s);
**/
bool HasLocalAddress(SOCKET socket);
-/**
- * Runtime check if current kernel supports SO_REUSEPORT option.
- **/
+/**
+ * Runtime check if current kernel supports SO_REUSEPORT option.
+ **/
extern "C" bool IsReusePortAvailable();
-
+
bool IsNonBlock(SOCKET fd);
void SetNonBlock(SOCKET fd, bool nonBlock = true);