| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-python mailing list Archives
Re: Help with curl_multi_socket interface
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 10 Jun 2008 00:02:49 +0200 (CEST)
On Mon, 9 Jun 2008, Yuhui H wrote:
> (Not sure if this should go to the main libcurl list).
You'll most certainly reach more people with multi API experience on that
> I'm trying to add curl_multi_socket to PycURL but it didn't work out as
I would suggest you first write a stand-alone application in C to get a grip
> It should be pretty straightforward. I wrapped curl_multi_socket_action and
I guess you only do this for testing purposes? Using select() for
> Then I modified tests\test_multi_socket.py to use a
0? is that the event bitmask? That can't be right.
> First iteration of select() goes through. On second iteration select()
And you have a callback setup to get the socket updates?
> If I replace the entire "select() call mechanism" with a repeated call to
Right, but I'd say that seems to indicate that you've lost track of the
> Now my question is, have there been any confirmed success of using
I honestly can't recall if we have.
> - Programming curl_multi_socket in C/on Win32 (thus isolate
Yes, that sounds clever.
> - Try the modification on Linux
Well, that would be a good idea if you're really sure that you're doing things
-- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-pythonReceived on 2008-06-10 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info