summaryrefslogtreecommitdiff
path: root/src/SocketCore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/SocketCore.h')
-rw-r--r--src/SocketCore.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/SocketCore.h b/src/SocketCore.h
index 9d06fbeb..866a45e0 100644
--- a/src/SocketCore.h
+++ b/src/SocketCore.h
@@ -44,6 +44,7 @@
#include <string>
#include <cstdlib>
#include <utility>
+#include <vector>
#ifdef HAVE_LIBSSL
// for SSL
@@ -92,9 +93,7 @@ private:
static int _protocolFamily;
- static SharedHandle<struct sockaddr_storage> _bindAddr;
-
- static socklen_t _bindAddrLen;
+ static std::vector<std::pair<struct sockaddr_storage, socklen_t> > _bindAddrs;
bool blocking;
int secure;