[ovs-dev] [PATCH 2/2] stream: Call WSAStartup() before calling any winsock functions.
Ben Pfaff
blp at nicira.com
Mon Mar 17 21:10:14 UTC 2014
On Mon, Mar 17, 2014 at 01:13:32PM -0700, Gurucharan Shetty wrote:
> The WSAStartup function initiates use of the Winsock DLL by a process.
> The function should be called before any winsock related functions
> are called.
>
> Since, we use stream-fd-windows through pstream_open or stream_open
> add the WSAStartup() call there.
>
> The current version of the Windows Sockets specification is version 2.2
>
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Should we use pthread_once()?
More information about the dev
mailing list