diff options
Diffstat (limited to 'src/mongo/util/net/sock.h')
-rw-r--r-- | src/mongo/util/net/sock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/util/net/sock.h b/src/mongo/util/net/sock.h index 5393b6cca72..74a36c38c09 100644 --- a/src/mongo/util/net/sock.h +++ b/src/mongo/util/net/sock.h @@ -69,6 +69,9 @@ const int SOCK_FAMILY_UNKNOWN_ERROR = 13078; void disableNagle(int sock); +// Generate a string representation for getaddrinfo return codes +std::string getAddrInfoStrError(int code); + #if defined(_WIN32) typedef short sa_family_t; |