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

SocketCAsyncSocketCSocket

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

代码说明:

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

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

发表评论

0 个回复

  • VBPPT
    为什么要学习程序设计? 从20世纪的60年代开始。一场新的信息革命悄然来临,它把人类带到信息化社会。与这个社会相应的社会技术是信息技术,它的核心是计算机技术。由于这项技术在人类历史上大大改变了人类创造物质财富和精神财富的方式、方法、过程和结果,也改变了社会结构和人类自身的生活方式、习俗等,因此引起社会各部门的重视。 (Why study programming? 60 years from the beginning of the 20th century. A quiet revolution, the advent of new information, it put into the information society of mankind. With the corresponding socio-technical society of information technology, which is the core of computer technology. Since this technology has dramatically changed human history mankind has created material wealth and spiritual wealth of ways, methods, processes and results, it has changed the social structure and way of life of human beings, customs and so on, thus causing all sectors of society attention.)
    2009-12-02 17:07:11下载
    积分:1
  • TextToDbf
    将.list后缀(地质学中常用的一种格式)的纯文本文件转换成dbf格式的vf数据库文件。 采用超线程技术,对于大尺寸的文件操作不会使界面卡死,稍作修改可成为通用的文本文件导入数据库的程序。(Will. List suffix (geology used in a format), plain text file into dbf format database file vf. The use of Hyper-Threading Technology for the large size of the file operations interface card does not die, with some slight modifications can be a text file to import generic database procedures.)
    2007-08-07 14:01:51下载
    积分:1
  • strcat
    设计函数STRCAT,模拟标准函数strcat(Design function STRCAT, analog standard function strcat)
    2007-12-16 13:04:04下载
    积分:1
  • OPCServerDTools
    opcserver开发包,带Visual C++源码例子。(opcserver development kit, with Visual C++ source code examples.)
    2021-01-29 14:18:35下载
    积分:1
  • OpenJPEG_PCMDC
    Fast Prediction Compensated Multiple Description Coding for JPEG 2000 The prediction compensated multiple description coding described in the following papers is implemented by modifying the OpenJPEG version of the JPEG 2000 standard: J. Wang, and J. Liang, "Filter banks for prediction-compensated multiple description coding,?submitted to IEEE Trans. Signal Processing, Sept. 2007. Revised: Aug. 2008. PDF J. Wang, and J. Liang, "Filter Banks for Prediction-Compensated Multiple Description Coding," accepted, 2008 Data Compression Conference, Snowbird, Utah, Mar. 2008. PDF http://www.ensc.sfu.ca/~jiel/
    2009-06-17 21:01:05下载
    积分:1
  • PieArtical
    这编码帮着展示图像代表情况,每年学生报告附带图片(This code helps you to show graphical representation for situations like generating annual report for student with its graph. This code creates Pie Chart likewise we can also create Bar Chart. )
    2009-02-17 18:38:34下载
    积分:1
  • VB6diqu
    今天给大家带来使用文本文件作为数据源的 ComboBox中国城市三级联动的代码。 1.地区库更新非常方便,不会影响到其他功能(区划代码是唯一的)。 2.文本文件读取来速度很快。(n the past, I used VB6 to write an example of three-level linkage of ComboBox in Chinese cities, using MDB database. A few years ago, the code, the regional database is not the latest. Today we bring you the code of ComboBox, which uses text files as data sources, for three-level linkage of Chinese cities. 1. The regionalization library updates are very convenient and will not affect other functions (regionalization code is the only one). 2. Text files are read very fast.)
    2019-06-05 09:34:04下载
    积分:1
  • VC2008-example
    <<VC++2008专题应用程序开发实例精讲>>源代码(vc 2008 example )
    2013-07-04 21:35:19下载
    积分:1
  • Windows_API
    非常实用的Windows API参考手册,可以方便开发者快速查找所需API(Very useful Windows API reference manual, you can easily find the API developers to quickly)
    2010-05-16 18:35:32下载
    积分:1
  • OPC客户端远服务器
    OPC客户端源码,可同时连接局域网内的多个OPC服务器 MFC带界面版(OPC client source code, which can connect multiple OPC servers in LAN at the same time MFC with Interface Edition)
    2021-01-06 21:28:54下载
    积分:1
  • 696518资源总数
  • 106242会员总数
  • 10今日下载