cURL / Mailing Lists / curl-users / Single Mail

curl-users

AW: curl 7.2.1 patch to specify http request output port

From: <Joern.Hartroth_at_comma-soft.com>
Date: Wed, 20 Sep 2000 10:35:17 +0200

Hi!

> -----Ursprüngliche Nachricht-----
> Von: Daniel Stenberg [mailto:daniel_at_haxx.se]
> Gesendet: Mittwoch, 20. September 2000 10:28
> An: Curl Mailinglist
> Betreff: Re: curl 7.2.1 patch to specify http request output port
>
>
> On Wed, 20 Sep 2000 Joern.Hartroth_at_comma-soft.com wrote:
>
> > Hrm, your new function for interface selection indeed
> doesn't work on
> > win32 due to missing headers and libs ("net/if.h" I
> suspect). No problem,
> > though, we just won't be able to use your code on win32
> (activate the
> > #ifdef LINUX).
>
> Hm, I think it can be made to work on win32. If we just
> figure out what
> include files to use and not etc.
>

Right. It can probably be made to work with the appropriate calls to
winsock. If it's not too pressing I'll have a look at that. Problem is I
don't have a multi-interface machine available but I can probably get it to
compile and release it to the hordes of win-based beta testers :).

> > Another glitch appears in curl-7.3-pre5's src/main.c where
> an element
> > named "interface" was added to struct Configurable. This is
> a reserved
> > word for MingW32 gcc and consequently chokes the compiler. Please
> > consider renaming the variable to "iface" or some such
> (patch below).
>
> Applied gracefully. Thanks!
>

Cheers,
    Jörn

> --
> Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
>
Received on 2000-09-20