From 60231f0600461a9593a8f876518874866df3387a Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 16 Feb 2019 12:40:41 -0800 Subject: fixes #879 Desire NNG_OPT_TCP_BOUND_PORT We also have made some support changes, including new APIs for printing URLs, and some improvements to the NNG_OPT_URL to make use of this new property. --- src/platform/windows/win_tcp.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/platform/windows/win_tcp.h') diff --git a/src/platform/windows/win_tcp.h b/src/platform/windows/win_tcp.h index b37b2353..e54f853c 100644 --- a/src/platform/windows/win_tcp.h +++ b/src/platform/windows/win_tcp.h @@ -38,20 +38,6 @@ struct nni_tcp_conn { nni_cv cv; }; -struct nni_tcp_listener { - SOCKET s; - nni_list aios; - bool closed; - bool started; - bool nodelay; // initial value for child conns - bool keepalive; // initial value for child conns - LPFN_ACCEPTEX acceptex; - LPFN_GETACCEPTEXSOCKADDRS getacceptexsockaddrs; - SOCKADDR_STORAGE ss; - nni_mtx mtx; - nni_reap_item reap; -}; - -extern int nni_win_tcp_conn_init(nni_tcp_conn **, SOCKET); +extern int nni_win_tcp_init(nni_tcp_conn **, SOCKET); #endif // NNG_PLATFORM_WIN_WINTCP_H -- cgit v1.2.3-70-g09d2