curl-library
Re: TCP_NODELAY
From: Joe Halpin <j.p.h_at_comcast.net>
Date: Mon, 22 Mar 2004 11:04:22 -0600
Date: Mon, 22 Mar 2004 11:04:22 -0600
Gisle Vanem wrote:
>>>If I call Curl_ourerrno() will the return value be useable by strerror() on
>>>Windows as well as Unix?
>>
>>Hm, I doubt that works on Windows... anyone?
>
> No it wont. One has to use the long and ugly messages
> from FormatMessage(). Time for a win32_strerror() function
> that does all this?
That sounds good, but in the meantime I guess I'll just suppress the
infof() output for Windows, since I don't have any way to test it here.
Joe
Received on 2004-03-22