[ovs-dev] [PATCH v2 1/7] util: Make WSAStartup available outside stream.c.

Gurucharan Shetty shettyg at nicira.com
Tue Jun 24 16:24:01 UTC 2014


On Mon, Jun 23, 2014 at 10:52 AM, Ben Pfaff <blp at nicira.com> wrote:
> On Fri, Jun 13, 2014 at 07:40:00AM -0700, Gurucharan Shetty wrote:
>> WSAStartup() needs to be called before using winsock2 related
>> functions. We need this for almost all the utilities. So call
>> it through OVS_CONSTRUCTOR.
>>
>> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
>
> Did you make sure that VLOG_FATAL works OK this early?  As long as it
> does:
>
Yeah. The process name does not get printed. But otherwise, we do get
a message of the following form on the console.
(null): WSAStartup failed: blah.
It should be rare to hit the error. If you have a suggestion, I will change it.

> Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list