pub fn wsa_startup() -> Result<WSADATA>
Expand description

WSAStartup()—Initialize process-wide Windows support for sockets.

On Windows, it’s necessary to initialize the sockets subsystem before using sockets APIs. The function performs the necessary initialization.

References