diff options
Diffstat (limited to 'src/net/fd_windows.go')
| -rw-r--r-- | src/net/fd_windows.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/fd_windows.go b/src/net/fd_windows.go index 45a10cf1eb..f9a077b631 100644 --- a/src/net/fd_windows.go +++ b/src/net/fd_windows.go @@ -23,6 +23,10 @@ const ( writeMsgSyscallName = "wsasendmsg" ) +func init() { + poll.InitWSA() +} + // canUseConnectEx reports whether we can use the ConnectEx Windows API call // for the given network type. func canUseConnectEx(net string) bool { |
