curl-library
Re: Fwd: [PATCH] check ip callback
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 2 Oct 2007 11:25:12 -0700
Date: Tue, 2 Oct 2007 11:25:12 -0700
On Mon, Oct 01, 2007 at 06:37:01PM -0700, Alexey Pesternikov wrote:
> Ok, here we go.
> See patch attached.
Why not make struct Curl_sockaddr large enough to hold an IPv6 address to
avoid having to play games with casting addr_storage[] etc. There are
so many address structures already used within curl that it seems a shame
to create yet another one that needs such tricks. You might as well use
Curl_addrinfo in that case.
Otherwise, it looks good to me.
>>> Da
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2007-10-02