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

SocketCAsyncSocketCSocket

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

代码说明:

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

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

发表评论

0 个回复

  • MC_FOC_Drive
    FOC算法 伺服电机控制 PMSM控制 Servo控制(FOC PMSM Servo motor)
    2021-04-27 12:58:44下载
    积分:1
  • DAQmxBase VB6 Sample
    USB-6501数据采集卡的开发例程,包括I/O和COUNTER。(USB-6501 data acquisition card development routines, including I/O and COUNTER.)
    2017-10-17 08:34:21下载
    积分:1
  • vc6
    串口转以太网通信的例子,有需要的可以参考参考,vc6写的.(Examples of serial to Ethernet communications, we need to refer to reference, vc6 written.)
    2010-12-25 21:54:54下载
    积分:1
  • st_asio_wrapper
    它是一个c/s网络编程框架,基于对boost.asio的包装(最低在boost-1.49.0上调试过),目的是快速的构建一个c/s系统;效率高、跨平台、完全异步,当然这是从boost.asio继承而来; 自动重连,数据透明传输,自动解决分包粘包问题(这一特性表现得与udp一样); 只支持tcp和udp协议;(It is a c/s network programming framework, based on boost.asio package (minimum tried to increase the boost-1.49.0), the purpose is to build a fast c/s systems efficient, cross-platform, fully asynchronous, Of course, this is from boost.asio inherited Auto-reconnect, transparent data transmission, automatic sub-stick package to solve the problem (this feature behave the same with udp) Only supports tcp and udp protocol )
    2013-08-22 10:10:54下载
    积分:1
  • mfc-ado-sql
    这是我在公司做的数据库外挂报表 对大家的学习很有帮助(This is what I do in the company' s database plug-in for everyone' s very helpful report)
    2011-11-12 19:00:11下载
    积分:1
  • ADOTest
    本人自己编写的VC++访问数据库程序,包含了ADO、ODBC等方法,可访问MSSQL、SQL、ACCESS等数据库。(I have written VC++ Access database program, including the ADO, ODBC and other methods to access MSSQL, SQL, ACCESS and other databases.)
    2020-10-29 14:59:57下载
    积分:1
  • ping_Alexei
    有关Ping使用的例子(the Ping examples of usage)
    2004-09-25 10:39:47下载
    积分:1
  • TTYReceiveMSComm
    该程序是一个串口的数据接收程序,具有简化的串口设置,传输速率的设置等功能,适宜于串口功能的测试。(The program is a serial data receiving process, with a simplified set of serial port, transfer rate settings, such as features, functions suitable for serial testing.)
    2009-04-21 11:42:40下载
    积分:1
  • Computer_making.cc
    For introductory programming class, simple logic coding.
    2016-02-25 11:36:54下载
    积分:1
  • CharSample的VS2019工版本
    说明:  CharSample的VS2019工程版本,经过了整理和调试,包含了代码、工具、实验截图。(A full VS2019 solution for the CharSample driver, which include code, tool and the screenshot for the experiment. The code provided is tested.)
    2020-06-18 00:00:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载