Location:
Search - wifi P
Search list
Description: 一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //这里可以对连接的session进行自己的操作,例如给id找一个唯一的值 SetIoCompletionPort(socket, s) // 使连接socket与一个自定义结构体关联 } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // 这里只是简单的把收到的消息返回给客户端 ... } void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) // 开始监听网络端口,等待客户端连接 ... }-A class for thread pool,basic usage below:
struct TSession { SOCKET socket int id } class myIocp:public CIOCP
{ public:
void OnRead(void* p, char* buf, int len)
void OnAccept(SOCKET socket)
void OnClose(void* p) }
void myIocp::OnAccept(SOCKET socket)
{ TSession*s = new TSession s->socket = socket
//here you can do something about connection session,such as find a unique id.
SetIoCompletionPort(socket, s)
// make connection socket associate with a custom structure }
void myIocp::OnRead(void* p, char* buf, int len)
{ TSession*s = (TSession*)p send(s->socket, buf, len, 0)
// return received message to client
void myIocp::OnClose(void* p) { delete p } myIoncp iocp main() { ... iocp.listen(4311)
//start listenning net port,wait for client connect.
Platform: |
Size: 2048 |
Author: boxu |
Hits:
Description: win ce API电子书-win ce API eBooks
Platform: |
Size: 13752320 |
Author: zhoujie |
Hits:
Description: aircrack-ptw_win32 WIFI PASSWORD CRACK
Platform: |
Size: 22528 |
Author: 阿布 |
Hits:
Description: Atheros WiFi and CSR BT reference used on Qualcomm platform
Platform: |
Size: 1400832 |
Author: Yang Haihui |
Hits:
Description: 串口- 无线局域网wifi模块
Wi-Fi(wlan 无线局域网)作为当今无线领域最为热门的一个技术, 已经应用到各行各业中。它使用TCP标准通讯,技术成熟可靠,传输速率快,各种配套的网络设备十分丰富,
使用者接受程度最高, 全球免费使用,是区域无线通讯的首选方案。
SOC芯片,性价比极高,质量稳定,内置WiFi协议栈和串口传输协议,接口信号5V、地、RX 、TX四线连接;
◆ 模块简洁、体积小,22*60*5 mm;
◆ 用户接口开发简单快捷,串口驱动 ,内置协议栈,无需操作系统支持;
◆ MSC51/PIC/ARM7 等 8、32位单片机轻易驱动,驱动代码极少;
智能卡终端;无线POS机;医疗仪器;数据采集;手持设备;游戏机;设备参数监测;现代农业;军事领域;智能交通;现代教育;LED屏.
168ab@126.com qq:542008202
欢迎索取一下资料
wifi.c
UART 串口 WLAN 模块简介.pdf
UART 串口 WLAN 模块用户手册_CG-WIFI-1000.pdf
CGLib.ddb
WIFI.ddb
4052 实现单串口多路切换.JPG-Serial port- wifi wireless LAN module
MSC51/PIC/ARM7 such as 8,32-bit microcontroller easily driven, driven very little code SOC chip, cost-effective high quality and stable, built-in WiFi protocol stack and serial transfer protocol, interface signal 5V, ground, RX, TX four-wire connection
Platform: |
Size: 806912 |
Author: 陈坚胜 |
Hits:
Description: PSP通过Wifi连接PC的接口程序,运行于PC端,小P可以通过它获取PC上的资源-PSP Wifi connection through the PC interface program, running on the PC side, a small P PC can access the resources it
Platform: |
Size: 734208 |
Author: 高志刚 |
Hits:
Description: 三星 cortex-a8 处理器 s5pv210电路图 之 WIFI电路原理图pcb-samsung cortex-a8 s5pv210 elec sch and pcb
Platform: |
Size: 1187840 |
Author: wang |
Hits:
Description: 便捷操作小程序,来自网址。http://tieba.baidu.com/p/1878159531
http://www.oschina.net/code/snippet_254557_21375 -little kit for virtual wifi in win7 os. you can see website above in detail.
Platform: |
Size: 106496 |
Author: bubifengyun |
Hits:
Description: 这是一个用于GNU无线电的IEEE 802.11 a/g/p收发器,它适合于使用Ettus N210s和B210s进行操作。该代码也可以用于模拟。(This an IEEE 802.11 a/g/p transceiver for GNU Radio that is fitted for operation with Ettus N210s and B210s. Interoperability was tested with many off-the-shelf WiFi cards and IEEE 802.11p prototypes. The code can also be used in simulations.)
Platform: |
Size: 335872 |
Author: 式 |
Hits: