Update tcp_client-windows.h

Changed improper misplaced includes.
pull/3432/head
Mihir Patel 1 month ago committed by GitHub
parent e8984f6fdf
commit 731594394f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -57,11 +57,7 @@ public:
} }
SOCKET fd() const { return socket_; } SOCKET fd() const { return socket_; }
#include <winsock2.h>
#include <ws2tcpip.h>
// Returns 0 on success, SOCKET_ERROR on failure (check WSAGetLastError()).
int connect_socket_with_timeout(SOCKET sockfd, int connect_socket_with_timeout(SOCKET sockfd,
const struct sockaddr *addr, const struct sockaddr *addr,
int addrlen, int addrlen,

Loading…
Cancel
Save