[axel-devel] axel-devel Digest, Vol 38, Issue 1

Zhai Xiang xiangzhai83 at gmail.com
Sat Feb 25 13:59:40 UTC 2012


BUT need to hunt the bug http://code.google.com/p/xsandbox/issues/list

2012/2/25, volans wang <volansw at gmail.com>:
> wow,it is really cool!
> 在 2012-2-25 晚上8:01, <axel-devel-request at lists.alioth.debian.org>写道:
>>
>> Send axel-devel mailing list submissions to
>>        axel-devel at lists.alioth.debian.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/axel-devel
>> or, via email, send a message with subject or body 'help' to
>>        axel-devel-request at lists.alioth.debian.org
>>
>> You can reach the person managing the list at
>>        axel-devel-owner at lists.alioth.debian.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of axel-devel digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Axel porting to WIN32 without Cygwin (Zhai Xiang)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Fri, 24 Feb 2012 21:42:39 +0800
>> From: Zhai Xiang <xiangzhai83 at gmail.com>
>> To: axel-devel at lists.alioth.debian.org
>> Subject: [axel-devel] Axel porting to WIN32 without Cygwin
>> Message-ID:
>>        <CAJOqzE_sPwwgY1D1EZBPO-i61FOsHaCuNEy5a55RtVBO7VmGrQ at mail.gmail.com
>>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Hi, Axel developers:
>>
>> I ported Axel v2.4 to NATIVE WIN32 without Cygwin, what I did in the
>> #if WIN32 ... #endif, for example:
>> Changed Linux file descriptor for the new socket to WIN32 SOCKET
>> descriptor referencing the new socket;
>> Changed close, write, read to closesocket, send, recv;
>> Changed pthread_t for the thread to HANDLE referenced the thread;
>> Changed pthread_create, pthread_join, pthread_cancel to CreateThread,
>> WaitForSingleObject, TerminateThread.
>>
>> SVN goes here http://xsandbox.googlecode.com/svn/trunk/axel-win32/
>>
>> Is there someone want to join in porting to NATIVE WIN32 project?
>>
>> Be short of test/QA/DEBUG, for example, I did not test Axel for FTP
> protocol.
>> And hunting the BUG, when set the max number of connections to 1 such
>> as IIS, Axel WIN32 consider as no connection yet but still waitting.
>>
>> There is already poll provided by Linux Kernel to determines the
>> status of one or more file descriptor,
>> waiting if necessary, to perform Asynchronous I/O. And there is
>> WSAPoll supported only by
>> Windows Vista, 7 && Server 2008 to determines status of one or more
>> sockets, what's more,
>> overlapped IO supported by more Windows distribution.
>> So It is better to change the select fd_set (have a look at axel_do
>> API in axel.c __FILE__) to more efficient way.
>>
>> Xiang Zhai
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> axel-devel mailing list
>> axel-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/axel-devel
>>
>> End of axel-devel Digest, Vol 38, Issue 1
>> *****************************************
>



More information about the axel-devel mailing list