cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: select error

From: Tom Jerry <catod6_at_gmail.com>
Date: Tue, 10 Oct 2006 14:55:43 +0200

I attached the sample with the fix.
Please notice that in my code (under win2k) I use Sleep(ms). However, since
this sample should be compiled under other OSs, I used #ifdef. I cannot
check if it compiles well on unix, so please make sure it is.

On 10/10/06, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Tue, 10 Oct 2006, Tom Jerry wrote:
>
> > I used the example code as my base, and there was no check for maxfd
> there.
> > I guess it's an obvious validation check a library user should make, but
> > maybe it's better to add it to the example code as well.
>
> I agree. Can you provide a patch fixing it for us please?
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>

Received on 2006-10-10