资源发布:Winshoes
CSDN 2000-07-29 12:03:00 资源下载,详细资料请访问:http://www.csdn.net/develop/resource.asp?ID=6
完全免费(Open Source)的Internet控件包,利用Win9x 多线程采取了Unix Block(阻塞方式)
有HTTP、 FTP、 SMTP、 NNTP、 Pop3 等多项控件( 7.0.3.9 Beta 版)
Winshoes is different than other Winsock components you may be familiar with. If you've worked with other components,the best approach for you may be to forget how they work. Nearly all other components use non blocking (asynchronous)calls and act asynchronously. They require you to respond to events, set up state machines, and often perform waitloops.
For example, with other components, when you call connect you must wait for a connect event to fire, or loopuntil a property indicates that you are connected. With Winshoes you merely call Connect, and wait for it to return.If it succeeds, it will return when it does. If it fails, it will raise an exception. Working with Winshoes isvery much like working with files. Winshoes allows you to put all your code in one place, instead of scatteredthroughout different events. In addition, Winshoes is much easier and more suited to threading.
How Winshoes is Different
Quick Overview
l Uses blocking calls
l Does not rely on events
l Designed to be threaded (Does not require you to use it in threads though)
l Sequential programming