diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2022-07-05 12:15:59 +0200 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2022-07-20 16:26:19 +0200 |
commit | 5db7d2ca0aa51ff25f97bf21ce0cbc9e6b741cbd (patch) | |
tree | 83decccdff8f4f73e9fd95a30201c8e9faf72029 /src/util/sock.h | |
parent | 5c82ca3365f6451d342c94cedc3f9b015598e9c2 (diff) | |
download | bitcoin-5db7d2ca0aa51ff25f97bf21ce0cbc9e6b741cbd.tar.xz |
moveonly: move IsSelectableSocket() from compat.h to sock.{h,cpp}
To be converted to a method of the `Sock` class.
Diffstat (limited to 'src/util/sock.h')
-rw-r--r-- | src/util/sock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/sock.h b/src/util/sock.h index 38a7dc80d6..9ec53ec91d 100644 --- a/src/util/sock.h +++ b/src/util/sock.h @@ -267,6 +267,8 @@ private: void Close(); }; +bool IsSelectableSocket(const SOCKET& s); + /** Return readable error string for a network error code */ std::string NetworkErrorString(int err); |