cURL / Mailing Lists / curl-library / Single Mail


Re: difference between winsock and libcurl

From: Nick Zitzmann <>
Date: Tue, 3 Jun 2014 19:48:29 -0500

On Jun 3, 2014, at 11:16 AM, wrote:

> hi can anyone tell me what the difference is between winsock and libcurl? C++ moderate beginner looking to start making programs using networks.

Winsock performs mid-level socket-based communication at the transport layer. libcurl is a high-level library that communicates with servers using an application layer protocol such as HTTP or IMAP.

> Another question, can I just download and link up the appropriate files from the libcurl zip to my projects or is it required to "cmake" or build the library first? Not sure I get how this works and if eanyone cold explain I;d be greatful forever.

You'd best build the library separately and either statically or dynamically link it with your project. It will save you time and sanity.

Nick Zitzmann

List admin:
Received on 2014-06-04