Fix Windows.

This commit is contained in:
Jonathan Naylor
2020-09-20 21:24:13 +01:00
parent 5051efa78d
commit 7934cc78bb
3 changed files with 21 additions and 14 deletions

View File

@@ -60,6 +60,9 @@ public:
void close();
void close(const unsigned int index);
static void startup();
static void shutdown();
static int lookup(const std::string& hostName, unsigned int port, sockaddr_storage& address, unsigned int& address_length);
static int lookup(const std::string& hostName, unsigned int port, sockaddr_storage& address, unsigned int& address_length, struct addrinfo& hints);
@@ -78,4 +81,3 @@ private:
};
#endif