-
SocketCAsyncSocketCSocket
Socket,CAsyncSocket,CSocket介绍
Socket有同步阻塞方式和异步非阻塞方式两种使用,事实上同步和异步在我们编程的生涯中可能遇到了很多,而Socket也没什么特别。虽然同步好用,不费劲,但不能满足一些应用场合,其效率也很低。
也许初涉编程的人不能理解"同步(或阻塞)"和"异步(或非阻塞)",其实简单两句话就能讲清楚,同步和异步往往都是针对一个函数来说的,"同步"就是函数直到其要执行的功能全部完成时才返回,而"异步"则是,函数仅仅做一些简单的工作,然后马上返回,而它所要实现的功能留给别的线程或者函数去完成。例如,SendMessage就是"同步"函数,它不但发送消息到消息队列,还需要等待消息被执行完才返回;相反PostMessage就是个异步函数,它只管发送一个消息,而不管这个消息是否被处理,就马上返回。(SocketCAsyncSocketCSocket)
- 2009-06-20 13:10:05下载
- 积分:1
-
8
说明: Review for Leach Protocol in WSN
- 2015-10-31 19:03:32下载
- 积分:1
-
如何得到本地机器的名称和IP地址
如何得到本地机器的名称和IP地址-how the local machine name and IP address
- 2022-02-02 19:54:15下载
- 积分:1
-
vakuablnFourier
傅立叶变换用于电力系统谐波分析,全是用c++编的很有价值(Fourier transform is very valuable for harmonic analysis of power system.)
- 2019-04-07 04:42:50下载
- 积分:1
-
nequest
Self-drawing thread progress bar can not loop()
- 2017-12-16 17:34:25下载
- 积分:1
-
knn
说明: 以图像处理和knn算法为基础,利用knn算法,在python开发环境中设计了一个手写数字识别系统,该系统采用28*28的模板对图新分成784块提取手写数字的784个特征,在二值图像数据基础上,通过朴素贝叶斯分类器算法,对0~9这十类手写数字进行学习和分类。(Based on image processing and KNN algorithm, a handwritten digit recognition system is designed in Python development environment by using KNN algorithm. The system uses 28*28 template to divide the graph into 784 blocks to extract 784 features of handwritten digits. On the basis of binary image data, it learns and classifies the ten types of handwritten digits, 0-9, through Naive Bayesian classifier algorithm.)
- 2019-04-29 11:06:29下载
- 积分:1
-
服务
服务-客户端下载程序模型,适用于初学者学习文件下载和socket编成。-services-client download model, applicable to beginners and to study the documents downloaded into socket.
- 2022-06-13 18:21:55下载
- 积分:1
-
the-static-binary-tree-and-input
建立一个静态二叉树,并对他进行先序遍历,已在vc6.0上运行通过。(To establish a static binary tree, and carries on his first sequence traversal, has run through in vc6.0
)
- 2014-01-14 12:37:28下载
- 积分:1
-
Meteorological-Library
气象常用程序库,解压后为多个word文档 内有源码(Meteorological common library, there are a plurality of word document source after extracting)
- 2015-11-15 21:01:51下载
- 积分:1
-
Ns is a good example Hongfan, very helpful for beginners
是一个很好的ns洪范例子,对于初学者很有帮助-Ns is a good example Hongfan, very helpful for beginners
- 2022-02-14 20:09:59下载
- 积分:1