aboutsummaryrefslogtreecommitdiff
path: root/src/platform/windows/win_impl.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-18 21:02:47 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-18 21:02:47 -0800
commitf2804cec25fa20ec0bf3e37ea99d89d117fce86a (patch)
tree03f7c7442e2553f736af56f716d066f397e9259e /src/platform/windows/win_impl.h
parente6cded3832c9e92c922d49d824b446ce33fbf120 (diff)
downloadnng-f2804cec25fa20ec0bf3e37ea99d89d117fce86a.tar.gz
nng-f2804cec25fa20ec0bf3e37ea99d89d117fce86a.tar.bz2
nng-f2804cec25fa20ec0bf3e37ea99d89d117fce86a.zip
Fix TCP hostname wildcards on Windows. Sort of.
I seem to be having a very difficult time getting dual-stack sockets to function properly on Windows. I've sort of abandoned it for now. I need to think about how to solve this -- it's not clear to me right now whether dual stack sockets are the right answer or not. People do expect these to work, but a tcp6:// url might be more elegant.
Diffstat (limited to 'src/platform/windows/win_impl.h')
-rw-r--r--src/platform/windows/win_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform/windows/win_impl.h b/src/platform/windows/win_impl.h
index c6a68142..e63553a5 100644
--- a/src/platform/windows/win_impl.h
+++ b/src/platform/windows/win_impl.h
@@ -32,6 +32,7 @@ struct nni_plat_tcpsock {
WSAOVERLAPPED recv_olpd;
WSAOVERLAPPED send_olpd;
WSAOVERLAPPED conn_olpd; // Use for both connect and accept
+ int family;
// We have to lookup some function pointers using ioctls. Winsock,
// gotta love it.