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