Winsock提供了另一个有用的异步I/O模型。和WSAAsyncSelect模型类似的是,它也允许应用程序在一个或多个套接字上,接收以事件为 基础的网络事件通知。对于表1总结的、由WSAAsyncSelect模型采用的网络事件来说,它们均可原封不动地移植到新模型。在用新模型 开发的应用程序中,也能接收和处理所有那些事件。该模型最主要的差别在于网络事件会投递至一个事件对象句柄,而非投递至一个窗 口例程。(节选自《Windows网络编程》第八章) 还是让我们先看代码然后进行分析:
标签: WSAAsyncSelect Winsock 模型
上传时间: 2014-01-19
上传用户:gxrui1991
Visual C++实现的基因遗传算法库源代码以演示程序Free Source Code for Genetic algorithm 2008年05月21日 C++, Windows, Win32, Visual Studio, MFC, STL, Arch, Dev, Design 基因遗传算法都是针对概率的,所以因为其随机的本质,导致其结果可能是好的,也可能是坏的,于是我们就需要一个方法确认这个解到底有多大的可用性。这是通过计算相似拟合度进行衡量的。染色体Chromosomes代表了基因遗传算法的结果。每次迭代,算法生成一个染色体,这些子孙染色体又会产生新的迭代……关键内容 这个基因算法库是用 Visual Studio 2005 编写的程序,第一个使用 Microsoft C/C++ 编译器,第二个使用Intel C++ 编译器。 如果你希望在你的程序你使用它,有两个办法,1是直接引用 Genetic Algorithm Library 项目,然后编译;2是添加GeneticAlgorithm.lib 静态链接库到项目中
标签: algorithm Genetic Windows Visual
上传时间: 2016-09-22
上传用户:silenthink
This a simple database management system. It doesn t use any other code (i.e. ODBC, ADO, etc.) and has it s own database file format. I wrote it because I found the other DBMSs code too bulky and hard to debug. It s designed for small applications and I doubt it could handle anything on a large scale. A sample program included in the .zip shows how everything works. The database project is a library project, so you ll have to compile and link with the .lib file to get everything working. Pros: - You have the source code so you know exactly what it is doing - Database files are very small - Small and fast code Cons: - Can t handle large amounts of records (more than 65000ish) - Doesn t support SQL (you have to search the database by cycling through the records and testing them against your constraints) - Each database file can only have one table.
标签: i.e. management database simple
上传时间: 2016-10-02
上传用户:851197153
蕃茄炸弹超人[ACT]I ve no Tomatoes 开放原始码,45度视角,有点像炸弹超人, 你操作一个"蕃茄",在迷宫里炸敌人,这是跨平台游戏。游戏目的很简单,就是把对手炸了,至於为什么主角是蕃茄... 游戏本身是开源的,而且跨Windows/Linux/Mac,基於SDL,说起来SDL跨平台的能力是很不错...虽然有些人不是很喜欢。游戏支援2人同时玩~
上传时间: 2016-10-02
上传用户:我干你啊
This book shows you how to write programs that run under Microsoft Windows 98, Microsoft Windows NT 4.0, and Windows NT 5.0. These programs are written in the C programming language and use the native Windows application programming interfaces (APIs). As I ll discuss later in this chapter, this is not the only way to write programs that run under Windows. However, it is important to understand the Windows APIs regardless of what you eventually use to write your code.
标签: Microsoft Windows programs shows
上传时间: 2013-12-13
上传用户:古谷仁美
本书是Windows程序设计领域的名著,涵盖了Windows的最新版本Vista 以及Windows XP的最新内容。书中全面深入地介绍了Windows的各种基本要素,如进程、线程池、虚拟内存、DLL、设备I/O和SEH 等,并列举了大量应用程序,精辟地分析了要素的使用方法。 本书适于各层次Windows编程人员阅读。
上传时间: 2013-12-19
上传用户:dongbaobao
windows驱动开发例子,可以在windows下操作硬件I/O。本例枚举了主板里所有PCI设备。
上传时间: 2016-12-06
上传用户:FreeSky
In this article, I will explain how to create UDP packets and then send them to a remote server through the Internet using WinPCap for Windows. The code has been tested to work with Windows XP SP2 and Vista SP1 on Linksys routers, and on Toshiba modems connected directly to the Internet. Please note that the code here is very minimalistic, and can be greatly expanded depending on your needs. The reason I use WinPCap in this article is that it solves the issue of Winsock for Windows (XP SP2 and above) not allowing raw UDP packets to be sent (in Linux, you can just use regular sockets). With WinPcap, it is possible to specify your own source IP and source hardware addresses in packets.
标签: article explain packets create
上传时间: 2013-12-12
上传用户:x4587
PartiTekSDK.chm is for windows, Unix/Linux and WinCE/WinMobile platform. SDK_Manul_Symbian.pdf is for Sybian platform
标签: SDK_Manul_Symbian PartiTekSDK WinMobile platform
上传时间: 2017-03-31
上传用户:wyc199288
one of video tool Skype only in windows mobile5.0 more than running, but my task is to let it run Skype in WINCE only in windows mobile5.0 more than running, but my task is to let it run in WINCE . Leave no stone unturned when I can not get windows mobile, they thought would be needed for skype all library files to my WINCE, so perhaps will be able to run skype. 1. Used depend Show skype depends on which files. In fact, not many documents, I can remember only under the following: core.dllcommctr.dllaygeshell.dllhtmlview.dll In addition to htmlview.dll, the other documents in WINCE have (if your system does not, please IMAGE Canada on the corresponding module). Therefore, I find on the Internet htmlview.dll, the results really find
标签: running windows mobile Skype
上传时间: 2014-01-17
上传用户:miaochun888