summaryrefslogtreecommitdiffstats
path: root/util/network/socket.h
diff options
context:
space:
mode:
authorAlexey Salmin <[email protected]>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:37 +0300
commit71af077a5dfe7e9f932a508422c2dac81a57ebc0 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/network/socket.h
parent3c5b1607b38f637d2f3313791ed25c2e080d2647 (diff)
Restoring authorship annotation for Alexey Salmin <[email protected]>. Commit 2 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 b560e473917..40c8648b409 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);