curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: help me improve behavior on Windows?

From: René Berber via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 6 Oct 2019 14:14:30 -0500

On 10/6/2019 3:59 AM, Daniel Stenberg via curl-library wrote:

[snip]
> That change was done using socketpair() and therefor it unfortunately
> only works on linux and unix-like systems.
>
> To bring that same improvement and benefit to the Windows side of
> libcurl, I've written a custom socketpair() implementation for Windows
> that can be used on that platform to offer the same functionality.
[snip]

There are implementations for Windows in
 * libevent (evutil.c: evutil_ersatz_socketpair()), and in
 * DBUS (dbus-sysdeps-win.c: _dbus_socketpair()).

Both work fine under Windows (from W-95 to the present).

-- 
R. Berber
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-10-06