资源发布: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
...全文
126 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

4,164

社区成员

发帖
与我相关
我的任务
社区描述
Windows专区 一般软件使用
社区管理员
  • 一般软件使用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧