- 博客(7)
- 资源 (7)
- 收藏
- 关注
原创 select模型的服务器源码
// Nonblocking.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #pragma comment(lib,"ws2_32.lib")// listen portu_short nListenPort = 5018
2009-07-29 10:47:00 623
原创 TCP IOCP服务器源代码
// Server.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #pragma comment(lib,"ws2_32.lib")#define DEFAULT_PORT 5018 #define DATA_
2009-07-29 10:45:00 869 1
转载 UPnP协议编程实践
UPnP协议编程实践(一) 内容: UPnP协议概述 典型应用场景 UPnP的关键术语 UPnP设备工作过程 参考资料 关于作者 在 Linux 专区还有: 教程 工具与产品 代码与组件 文章 于辰涛 ([email protected]) 2002
2009-04-17 12:28:00 839
转载 游戏对战平台原理终结篇(转自)
游戏对战平台,在没有了解的情况下,总是给人一种很神秘的感觉,然而,当你对socket的理解到达一定程度之后,你就不会再觉得神秘。 用一句话来总结这种技术:虚拟局域网(VLAN)。 实现这种平台,主要是客户端,而客户端有很多种方法,就我所了解,可以用面三种方法实现: 1. 替换Windows socket DLL,然后,你想做什么就做什么吧。 2. 进程
2009-04-10 11:26:00 1960 2
原创 游戏进程注入代码
// Inject.cpp : Defines the entry point for the DLL application.//#include "stdafx.h"#include "Inject.h"// 注入DLLbool InjectLibrary(DWORD dwProcId, LPCSTR szDllPath){ // 打开指定进程 DWORD dwProcAccess =
2009-04-10 11:13:00 955
原创 SPI测试源码
#define UNICODE#define _UNICODE#include #include #include #include #include //// 全局变量,用来保存系统服务提供者30个服务函数指针//WSPPROC_TABLE NextProcTable ;//// 全局变量,用来临时保存全部服务提供者的信息//LPWSAPROTOCOL_INFOW Pr
2009-04-01 18:44:00 1556 1
原创 进程共享链表
void CTestShareDlg::OnBnClickedWrite(){ //创建或获取内存文件句柄 HANDLE hFile = CreateFileMapping(NULL,NULL,PAGE_READWRITE,0,MEM_SIZE,MEM_SHARE_NAME); VOID * pMem = NULL; if(hFile != NULL) { //获取存储的内存地址 pMem =
2009-04-01 18:37:00 503
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人