cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl does not compile in Microsoft VisualStudio 6

From: Joe Nardone <>
Date: Fri, 28 Sep 2007 13:56:09 -0400

> file.c -- socklen_t is undefined

> I found socklen_t defined in config-win32.h but it is surrounded by a
> #ifndef HAVE_WS2TCPIP_H. If I comment-out this #ifndef, then the socklen_t
> data type is found OK. Note that I cannot define HAVE_WS2TCPIP_H as MS VS6
> does not have a ws2tcpip.h header file.

For this header (and the appropriate definition of socklen_t) you
should install the core Microsoft platform SDK (and ensure that the
SDK's include and lib paths are first in your VC6 environment).


Received on 2007-09-28