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

SocketCAsyncSocketCSocket

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

代码说明:

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

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

发表评论

0 个回复

  • 74HC595-s
    基于ATMEGA16的74HC595串入并出芯片应用(The ATMEGA16 74HC595 series input and output chip application based on)
    2013-05-09 08:49:55下载
    积分:1
  • router1
    模拟路由器功能,简单的c++程序代码,可以实现。(Simulation router function a simple c++ code, can be achieved.)
    2021-03-27 22:29:12下载
    积分:1
  • read3D_RMA
    是3d_rma数据库读写的程序,原来随数据库附带的读数据的程序读出的点有误,在此基础上做了一些修改,可以正确的读出。(3d_rma database is read-write procedure, the original database with the data attached to the procedure time to read out the points to be wrong, on this basis to do some modifications, you can read out the correct.)
    2008-04-01 15:40:18下载
    积分:1
  • CopyrightSolution
    SSD4 copyright solution
    2010-01-24 17:50:43下载
    积分:1
  • juyuwang
    该程序简单介绍了如何创建局域网的C/S工作模式,简单可靠。(The simple procedure describes how to create LAN C/S mode, simple and reliable.)
    2011-10-14 14:31:59下载
    积分:1
  • SAF
    回声消除代码实例,具有一定的参考价值,可以下载使用。(voice aec code example ,will be valuable to you work if you download it)
    2021-04-21 14:58:50下载
    积分:1
  • 捷联惯导算法C++
    捷联惯导算法C++程序,严龚敏老师PINS工具箱C++版本(Strapdown inertial navigation algorithm C++ program, Yan Gongmin teacher PINS toolbox C++ version)
    2017-08-22 12:04:07下载
    积分: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
  • arts_debug
     调试对于软件的成败至关重要,正确使用恰当的调试工具可以提高发现和改正错误的效率。本书详细介绍了 3种调试器,gdb用于逐行跟踪程序、设置断点、检查变量以及查看特定时间程序的执行情况, ddd是流行的 gdb的 gui前端,而 eclipse提供完整的集成开发环境。书中不但配合实例讨论了如何管理内存、理解转储内存、跟踪程序找出错误等内容,更涵盖了其他同类书忽略的主题,例如线程、客户 /服务器、gui和并行程序,以及如何躲开常见的调试陷阱。(Debugging for is vital to the success of the software, the proper use of appropriate debugging tool can improve the efficiency of discovery and correct mistakes. Book introduces in detail three kinds of debugger, GDB for tracking procedures, set breakpoints, line by line check variables and checking their specific time execution of DDD is popular the GDB GUI front-end, and eclipse provides a complete integrated development environment. The book not only cooperate with examples to discuss how to manage the memory, understanding, memory dump and trace program error, more covers other similar books ignore themes, such as threads, client/server, GUI, and the parallel program, debugging and how to avoid common pitfalls.)
    2013-08-03 14:53:53下载
    积分:1
  • Server
    6自由度液压平台的演示代码,实现了简易波浪模型,控制液压平台模拟海浪效果.(3d demo)
    2009-05-12 20:46:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载