Subject: Re: c-ares Digest, Vol 29, Issue 9

Re: c-ares Digest, Vol 29, Issue 9

From: Naveen Shivanna <naveen.81_at_gmail.com>
Date: Thu, 15 May 2008 18:56:51 +0530

I am using windows system VC 6.0 and GCC compiler

On 5/15/08, c-ares-request_at_cool.haxx.se <c-ares-request_at_cool.haxx.se> wrote:
>
> Send c-ares mailing list submissions to
> c-ares_at_cool.haxx.se
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://cool.haxx.se/cgi-bin/mailman/listinfo/c-ares
> or, via email, send a message with subject or body 'help' to
> c-ares-request_at_cool.haxx.se
>
> You can reach the person managing the list at
> c-ares-owner_at_cool.haxx.se
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of c-ares digest..."
>
>
> Today's Topics:
>
> 1. Re: [PATCH] introducing millisecond timeout resolution (Yang Tse)
> 2. cd src/daily-c-ares && ./update.sh (fwd) (Daniel Stenberg)
> 3. Re: cd src/daily-c-ares && ./update.sh (fwd) (Yang Tse)
> 4. ares_process_fd (Naveen Shivanna)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 15 May 2008 03:18:25 +0200
> From: "Yang Tse" <yangsita_at_gmail.com>
> Subject: Re: [PATCH] introducing millisecond timeout resolution
> To: "c-ares hacking" <c-ares_at_cool.haxx.se>
> Message-ID:
> <7802aa750805141818h40b4be57md6092e71a86fb43_at_mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Looking more closely I think that we are breaking ares_timeout(), it
> has to return a time difference or timeout value to next timeout, not
> the time of the next timeout per se. Otherwise we would break ABI.
>
> I think that the changes introduced in ares_timeout.c in current CVS
> line numbering from line 66 to line 76 should be simply undone.
>
> --
> -=[Yang]=-
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 15 May 2008 07:45:53 +0200 (CEST)
> From: Daniel Stenberg <daniel_at_haxx.se>
> Subject: cd src/daily-c-ares && ./update.sh (fwd)
> To: c-ares development <c-ares_at_cool.haxx.se>
> Message-ID: <Pine.LNX.4.64.0805150741110.18183_at_yvahk3.pbagnpgbe.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> Hey Yang,
>
> The recent "VC" changes cause a little nit in the distribution tarball
> creation:
>
> (I figure 'make distcheck' will reveal this.)
>
> --
>
> / daniel.haxx.se
>
> ---------- Forwarded message ----------
>
> Update from CVS
> Run buildconf
> /usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of
> AM_PATH_LIBMCRYPT
> run info '(automake)Extending aclocal'
> or see
> http://sources.redhat.com/automake/automake.html#Extending-aclocal
> Run maketgz
> make: *** No rule to make target `vc/adig/adig.dep', needed by
> `distdir'. Stop.
> ares_version.h.dist created
> adding 1.5.2-20080515 in the configure.ac file
> makes a new configure script
> running configure
> running make dist
> removing temporary configure.ac file
> NOTE: now cvs tag this release!
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 15 May 2008 11:23:17 +0200
> From: "Yang Tse" <yangsita_at_gmail.com>
> Subject: Re: cd src/daily-c-ares && ./update.sh (fwd)
> To: "c-ares hacking" <c-ares_at_cool.haxx.se>
> Message-ID:
> <7802aa750805150223q2e24460ap2b32e412b12f53bd_at_mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 2008/5/15, Daniel Stenberg wrote:
>
> > The recent "VC" changes cause a little nit in the distribution tarball
> > creation:
>
> Oops.
>
> This
> http://cool.haxx.se/cvs.cgi/curl/ares/Makefile.am.diff?r1=1.20&r2=1.21
> should now fix it.
>
> --
> -=[Yang]=-
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 15 May 2008 15:28:19 +0530
> From: "Naveen Shivanna" <naveen.81_at_gmail.com>
> Subject: ares_process_fd
> To: c-ares_at_cool.haxx.se
> Message-ID:
> <4b9756ed0805150258k70b3a29do8c3054b5c6d7bf0b_at_mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I am using c-ares 1.5.1 version, build on windows. In ares_process_fd for
> the 3rd parameter i am passing ARES_SOCKET_BAD, when i compiled, it is
> giving ARES_SOCKET_BAD undeclared identifier.
>
> I saw the ares.h file as below
>
> #ifndef ares_socket_typedef
> #ifdef WIN32
> typedef SOCKET ares_socket_t;
> #define ARES_SOCKET_BAD INVALID_SOCKET
> #else
> typedef int ares_socket_t;
> #define ARES_SOCKET_BAD -1
> #endif
> #define ares_socket_typedef
> #endif /* ares_socket_typedef */
>
> my question is I could not able to find the value for INVALID_SOCKET, may i
> know which header file as this or what should be the value for this.
>
>
> Regards
> Naveen.S
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://cool.haxx.se/pipermail/c-ares/attachments/20080515/b8623fcd/attachment-0001.htm
> >
>
> ------------------------------
>
> _______________________________________________
> c-ares mailing list
> c-ares_at_cool.haxx.se
> http://cool.haxx.se/cgi-bin/mailman/listinfo/c-ares
>
>
> End of c-ares Digest, Vol 29, Issue 9
> *************************************
>
Received on 2008-05-15