-
SocketCAsyncSocketCSocket
Socket,CAsyncSocket,CSocket介绍
Socket有同步阻塞方式和异步非阻塞方式两种使用,事实上同步和异步在我们编程的生涯中可能遇到了很多,而Socket也没什么特别。虽然同步好用,不费劲,但不能满足一些应用场合,其效率也很低。
也许初涉编程的人不能理解"同步(或阻塞)"和"异步(或非阻塞)",其实简单两句话就能讲清楚,同步和异步往往都是针对一个函数来说的,"同步"就是函数直到其要执行的功能全部完成时才返回,而"异步"则是,函数仅仅做一些简单的工作,然后马上返回,而它所要实现的功能留给别的线程或者函数去完成。例如,SendMessage就是"同步"函数,它不但发送消息到消息队列,还需要等待消息被执行完才返回;相反PostMessage就是个异步函数,它只管发送一个消息,而不管这个消息是否被处理,就马上返回。(SocketCAsyncSocketCSocket)
- 2009-06-20 13:10:05下载
- 积分:1
-
VCdeepdemastrationcode1-6
VC深入详解的随书源码,第1章到第6章全部示例(VC++ in-depth Xiangjie-demand book source code, Chapter 1- Chapter 6 All samples)
- 2009-09-10 16:48:37下载
- 积分:1
-
GPS
处理GPS数据,形成电离层的模型,在C#环境下的控制台。(Processing GPS data, the formation of the ionosphere model, in C# console environment.)
- 2010-10-16 17:24:03下载
- 积分:1
-
COM
基于CVI2010的串口编程 使用C++ 适合初学者学习(Based on CVI2010 serial port programming using c++ for beginners to learn)
- 2015-05-13 09:41:31下载
- 积分:1
-
MFCSimReaderTest
配合我发的F320单片机及其驱动程序的上位机测试程序。完成发送APDU指令(I made the F320 with its single-chip PC driver testing procedures. Finished sending APDU command)
- 2014-05-14 18:14:48下载
- 积分:1
-
treeedit
用于实现VC++中树控件的编辑功能,方便用户对采用树控件实现界面编程。(VC++ editing functions for realizing the tree control, user-friendly programming interface using the tree controls to achieve.)
- 2015-10-01 14:12:00下载
- 积分:1
-
JoystickRead
该程序能实时、准确、快速的读取飞行摇杆的数据,大大方便了对飞行摇杆的二次开发(The program can be real-time, accurate, fast read data of flight rocker, greatly facilitate the secondary development of flying rocker)
- 2021-04-27 16:48:44下载
- 积分:1
-
JHGJGHJGFJG
题目:取一个整数a从右端开始的4~7位。
程序分析:可以这样考虑:
(1)先使a右移4位。
(2)设置一个低4位全为1,其余全为0的数。可用~(~0<<4)
(3)将上面二者进行&运算。
2.程序源代码:(Topic: take an integer a from the right end of the four to seven began.
Program analysis: it can be to consider:
(1) to make a move to the right four.
(2) sets a low four total for the 1, all the rest for 0 of the number. Can be used to (~ 0 < < 4)
(3) will above the difference and operations.
2. The source code:)
- 2012-05-26 20:20:03下载
- 积分:1
-
passp
完美实现本地过TP保护驱动,从而实现CE及OD附加,做辅助必要的好帮手。。(TP PASS)
- 2012-03-03 21:45:38下载
- 积分:1
-
Rc4Dlg
RC4算法的加密实现,实现对明文的加密,加密效果很不错(RC4 encryption algorithm, has implemented an express right of encryption, encryption is very good effect)
- 2006-06-13 15:10:44下载
- 积分:1