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

SocketCAsyncSocketCSocket

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

代码说明:

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

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

发表评论

0 个回复

  • CommTest
    串口通讯测试代码,经过测试,可以成功运行。(Serial Communication Test.)
    2010-08-25 22:04:07下载
    积分:1
  • algs
    Details of the Clustering Algorithms Supplement to the paper “Validating Clustering in Gene Expression Data” (to appear in Bioinformatics)
    2009-11-07 15:56:08下载
    积分:1
  • FFT
    TMS320C6678 FFT源代码,TMS320C6678是TI公司推出的一款8核DSP,具有强大的并行处理能力,FFT代码底层使用汇编编写,使用C语言调用,模块化功能,便于使用(TMS320C6678 FFT source code, TMS320C6678 is TI has introduced an 8-core DSP, a powerful parallel processing capabilities, FFT underlying assembler code written in C language calling, modular functionality, ease of use)
    2014-10-18 21:58:58下载
    积分:1
  • Exceptional-cPP
    Exceptional c++中文版,指导c++程序员写出高效整洁的代码(Exceptional c++ Chinese version of the guide c++ programmers to write efficient code clean)
    2013-08-19 16:24:48下载
    积分:1
  • online-bookstore
    这是一个网上书店的源程序,简单的实现了网上售书的功能。(This is the source of an online bookstore, simple implementation of the functionality of online book sales.)
    2012-03-09 14:56:12下载
    积分:1
  • asdd
    在Windows的托盘上添加一个光驱按钮(In the Windows tray button to add a CD-ROM)
    2016-02-15 01:50:37下载
    积分:1
  • ld
    说明:  数据通信的课程设计,用于实现AMI码等等在数据通信中实用的编码。(Data communication curriculum design, code, etc. used to implement AMI useful in data communications code.)
    2011-04-30 20:12:38下载
    积分:1
  • HtmlVIE
    使用CHtmlView类,实现类似IE的网页浏览器,VC++经典编程学习源码,很好的参考资料。(Use the CHtmlView class, to achieve a similar IE webpage browser, VC++ classic learning programming source code, a good reference.)
    2013-11-25 13:15:31下载
    积分:1
  • bookmanage
    MFC编程,VC连接ACCESS数据库,实现对数据的增、删、改、查等操作(VC connection ACCESS database to achieve the data add, delete, change, and other operations)
    2011-08-07 12:28:38下载
    积分:1
  • vbnomwdifytime
    VB6.0禁止修改系统时间的源代码,Windows系统时间有时是自动更新的,如果不选择自动更新,可以手动去修改它,但目前有一些流行的恶意程序为了自己软件方便会强制修改系统时间,本程序可禁止用户或程序修改系统时间,虽然主窗口打开后什么也没,但此时你双击右下角的Windows系统时间,弹出面板内修改时间的话,你会发现修改过的时间会自动恢复,无法修改。本程序的用意并不是在于让用户就这么运行着要程序,而是让VB编程者可从代码中提取出有用的代码,作为一个模块来用,实现禁止修改Windows系统时间的功能。(VB6.0 prohibit changes to the system s source code, Windows system automatically updates the time and sometimes, if you do not choose to automatically update, you can manually to modify it, but there are some prevalent malicious software programs for their own convenience will force changes to the system, this program can prevent users from modifying the system or program time, although the main window opens after nothing but time to time you double-click on the Windows system the lower right corner to bring up the panel s modification time, you will find the modified time will be automatically restored, can not be modified. This program is not intended that allows users to program running on so, but let VB programmers can be extracted from the code of useful code as a module to use, modify the Windows system time to achieve a ban functio)
    2014-05-08 16:12:29下载
    积分:1
  • 696518资源总数
  • 106024会员总数
  • 27今日下载