(SocketCAsyncSocketCSocket) - IMDN开发者社群-imdn.cn">
登录
首页 » Visual C++ » SocketCAsyncSocketCSocket

SocketCAsyncSocketCSocket

于 2009-06-20 发布 文件大小:4KB
0 293
下载积分: 1 下载次数: 93

代码说明:

  Socket,CAsyncSocket,CSocket介绍 Socket有同步阻塞方式和异步非阻塞方式两种使用,事实上同步和异步在我们编程的生涯中可能遇到了很多,而Socket也没什么特别。虽然同步好用,不费劲,但不能满足一些应用场合,其效率也很低。 也许初涉编程的人不能理解"同步(或阻塞)"和"异步(或非阻塞)",其实简单两句话就能讲清楚,同步和异步往往都是针对一个函数来说的,"同步"就是函数直到其要执行的功能全部完成时才返回,而"异步"则是,函数仅仅做一些简单的工作,然后马上返回,而它所要实现的功能留给别的线程或者函数去完成。例如,SendMessage就是"同步"函数,它不但发送消息到消息队列,还需要等待消息被执行完才返回;相反PostMessage就是个异步函数,它只管发送一个消息,而不管这个消息是否被处理,就马上返回。(SocketCAsyncSocketCSocket)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • F4usbmsc
    f4系统下 usb+片上fsmc的实例demo 可为sd底层快速操作 提供可能(Under f4 systems usb+ piece fsmc instance demo for fast operation provides possible underlying sd)
    2014-01-16 10:43:21下载
    积分:1
  • oontrol
    MFC编写的虚拟仪器,是一个封装很好的STATIC控件,不错的(MFC written, virtual instrument is a packaged good STATIC control, good)
    2017-07-18 06:48:49下载
    积分:1
  • HDraw
    使用VC++实现画板功能,使用MFC编程实现。内含有程序源代码。(Use VC++ achieve Sketchpad features, use MFC programming. Contained within the source code.)
    2013-12-06 18:12:55下载
    积分:1
  • Demo
    在对话框中加载菜单,VC++精选编程源码,很好的参考。(In the dialog box to load the menu, select VC++ programming source code, a good reference.)
    2013-12-03 09:27:56下载
    积分:1
  • Windows.Programming.Windows.Programming.Book
    Windows.Programming.Windows.Programming.Book.Source Collection GDI Working, Device Context, Resource Handling, The Child Windows..
    2009-09-30 18:37:40下载
    积分:1
  • Introduction_To_Direct3D9_Chinese_Edition(WenYunBi
    Introduction.To.Direct3D9中文版(翁云兵版)书附带源码(Introduction.To.Direct3D9 Chinese version (??soldiers Edition) book incidental source)
    2007-08-11 10:32:55下载
    积分:1
  • DemoMDI
    基于VC++的一个标尺小程序,程序用的是vs2010(A ruler program based on VC++, which uses VS2010)
    2019-02-19 10:33:44下载
    积分:1
  • YCArray
    说明:  /** * 动态数组的模板类 * 1.支持字符索引 * 2.方便的添加删除修改任意一项 * 最后更新 2004-8-9 yzh **1.优化了字符索引的运作方式,使用数组存储 **2.重写了底层数据的存储,将连续性的存储方式改为了非连续, *** 从而很好有效地支持了“引用”,并且让数据的删除增加变的更为快速 * 用法如: * YCArray<int,int> test * test.Add("Number2",4) * test.Add("Number1",2) * printf("%d %d",test["Number1"],test["Number2"]) * 显示: * 2 4 ******* ******* History: 2004-11-19 修改了析构函数,解决了索引没有释放的bug **/(/*** dynamic array template class* 1. Support characters Index* 2. Add convenience to delete arbitrary* a final update 2004-8-9 yzh** 1. Character Index optimized mode of operation, the use of storage arrays** 2 . a rewrite of the underlying data storage, storage continuity conversion of non-continuous, and thus good*** effective support to the "quote", and let the data changed to delete the more rapid* usage such as :* YCArraylt; int, intgt; test* test. Add ( "Number2", 4)* test.Add ( "Number1", 2)* printf ( "% d% d", test [ "Number1"] test [ "Number2"])* Display :** 2 4************* History : 2004-11-19 revised the destructors, the index did not address the release of bug** /)
    2005-09-06 13:03:51下载
    积分:1
  • FNUSB_v02000405
    usb通讯 ,实现与设备的USB通讯连接。直接调用就可以使用,清册可是。(USB COMM you can use is to develop your own app.)
    2017-10-26 13:03:54下载
    积分:1
  • Spartan-3A_CTM
    Spartan 系列 FPGA 封装的热性能模型(Package Thermal Models)
    2015-03-18 15:14:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载