summaryrefslogtreecommitdiffstats
path: root/util/network/socket.h
diff options
context:
space:
mode:
authorcerevra <[email protected]>2022-02-10 16:45:59 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:59 +0300
commit4f292c7e2fd0a41da93fda51b2d440c979a330b7 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/network/socket.h
parentbf41dd01f6c920583e9faae7cd55ed25e547e052 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/network/socket.h')
-rw-r--r--util/network/socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/network/socket.h b/util/network/socket.h
index f5c3279e5e3..40c8648b409 100644
--- a/util/network/socket.h
+++ b/util/network/socket.h
@@ -120,14 +120,14 @@ void SetSocketPriority(SOCKET s, int priority);
void SetTcpFastOpen(SOCKET s, int qlen);
/**
* Deprecated, consider using HasSocketDataToRead instead.
- **/
-bool IsNotSocketClosedByOtherSide(SOCKET s);
+ **/
+bool IsNotSocketClosedByOtherSide(SOCKET s);
enum class ESocketReadStatus {
HasData,
NoData,
SocketClosed
};
-/**
+/**
* Useful for keep-alive connections.
**/
ESocketReadStatus HasSocketDataToRead(SOCKET s);