Welcome![Sign In][Sign Up]
Location:
Search - wifi socket

Search list

[Windows Developsf_200562516252

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:

[Internet-Networkiphlp2

Description: wifi无线网卡的基本信息获取的例子,可以进行简单的信息获取,并对其进行操作。-wifi wireless card to obtain basic information about the examples, you can simple access to information, and instructions.
Platform: | Size: 1887232 | Author: richard | Hits:

[OtherServer

Description: This going to be an appcilation, which uses udp socket to send and receive data between a computer and a wifi robot.-This is going to be an appcilation, which uses udp socket to send and receive data between a computer and a wifi robot.
Platform: | Size: 3072 | Author: trebron | Hits:

[androidAndroid1001NetWork

Description: Android的网络编程: 概述:手机网络分为语音网络和数据网络,语音网络是GSM网 语音网络——移动通信网 数据网络——3G广域网,GPRS网 连接数据网络的多种形式:Socket,HTTP,蓝牙,wifi 现在主流是WCDMA-Android' s network programming: Overview: Mobile phone network is divided into voice and data networks, voice networks are GSM network voice networks- mobile communication network data network- 3G WAN, GPRS data network connectivity in various forms: Socket, HTTP, Bluetooth, wifi is now mainstream WCDMA
Platform: | Size: 52224 | Author: liu | Hits:

[androidwifi

Description: android的wifi网络操作实例代码-android wifi network operation code examples
Platform: | Size: 44032 | Author: ningbiting | Hits:

[JSP/Javawifi

Description: android系统的wifi网络操作,并建立局域网socket通信。-android system wifi network operations, and the establishment of a local area network socket communication.
Platform: | Size: 178176 | Author: 刘娜娜 | Hits:

[JSP/Javaandroi-socket

Description: android在wifi下手机与电脑的socket通信.doc-android wifi next phone and computer socket communication. doc
Platform: | Size: 6212608 | Author: 侠客 | Hits:

[SilverLightcomm-wifi

Description: android 模拟器中的Socket通信,实现了基本的服务器,客户端设置-Socket Communications android simulator to achieve the basic server, the client set-Socket Communications android simulator to achieve the basic server, the client set
Platform: | Size: 4096 | Author: jiangwei | Hits:

[Windows Developsocket

Description: ndroid在wifi下手机与电脑的socket通信,内附电脑端的VC++程序源码,需要在VC6环境下编译并生成EXE文件,方可运行,同时还包括了本实例实现过程的技术文档。-ndroid the wifi next phone and computer socket communication, enclosing the computer end VC++ program source code, need to be compiled in VC6 environment and generate EXE file before running, and also includes the technical documentation of the implementation process of the present instance.
Platform: | Size: 4524032 | Author: 余新红 | Hits:

[JSP/JavaAndroid2Computer-wifi

Description: [Android] 手機資料傳到電腦(WiFi) 如何將手機資料經由WIFI傳到電腦呢? 我們可以利用ServerSocket(Server端)和socket(Client端)來實作一個例子, 從手機裡選一張照片傳送到電腦, 這裡有一點要注意,Server和client需在同一個網址。-[Android] phone data to a computer (WiFi) information on how the phone to a computer via WIFI it? We can use ServerSocket (Server side) and socket (Client side) to implement an example, choose a photo from the phone transmission to a computer, where it must be noted, Server and client needs in the same URL.
Platform: | Size: 2048 | Author: jay chn | Hits:

[Other Embeded programWiFi

Description: arduino的wifi实现,可以实现arduino单片机下面的tcpip的通信,包括socket、udp、tcp通信功能-arduino s wifi, could achieve the following tcpip communication arduino microcontroller, including the socket, udp, tcp communication
Platform: | Size: 5092352 | Author: grk | Hits:

[androidandroid--socket

Description: 在局域网下通过WIFI手机和电脑用SOCKET通信,可接收可发送。-In the local area net through WIFI using SOCKET communication, cell phones and computers can receive can send.
Platform: | Size: 6389760 | Author: 尹仁超 | Hits:

[androidAndroid-wifi-car

Description: wifi控制小车,socket机制实现。可以实现重力感应控制,手动控制和自动避障-wifi control the car, socket mechanisms. Can realize the gravity sensing control, manual control and automatic obstacle avoidance
Platform: | Size: 896000 | Author: andytian1991 | Hits:

[Internet-Networksocket

Description: 在网上找了很久Android上wifi的TCP通信,很多例子方法都不对,容易死,后来找到一篇非阻塞式的,然后将之做成了个Demo,大家要做这一块的请参考本例子,真正实用。-Wifi Internet looking for a long time on the Android TCP communication, many examples of methods are not right, easy to die, then find an non-blocking, and then it made a Demo, we need to do this piece, please refer to this example, really practical.
Platform: | Size: 96256 | Author: jack yang | Hits:

[androidsocket-communication-with-wifi

Description: android在wifi下手机与电脑的socket通信-Under the socket communication android phone and computer in wifi
Platform: | Size: 6262784 | Author: lzhen | Hits:

[androidWifiAP

Description: 实现简单的WIFI socket通信,适合初学者参考
Platform: | Size: 34816 | Author: 曹亚 | Hits:

[JSP/JavaAndroidWifiConnect

Description: Android智能终端例程,主要包括无线Wifi Socket编程,界面编程等。
Platform: | Size: 4347904 | Author: 柳枫 | Hits:

[Game Programsocket

Description: 同一个wifi环境下数据传输,分客户端和服务端两个demo-wifi data transfer
Platform: | Size: 6616064 | Author: 夏子若 | Hits:

[SCMSTM8_ESP8266

Description: STM8做的WIFI插座,WIFI模块为EPS8266-14(自带STM8单片机,当然用其他型号的模块外挂单片机也是一样的),连的机智云。-STM8 do WIFI socket, WIFI module for the EPS8266-14 (own STM8 microcontroller, of course, with other models of the module is the same plug-in microcontrollers), even the wit cloud.
Platform: | Size: 4216832 | Author: 黄花菜 | Hits:

[JSPwifi下手机与电脑的socket通信

Description: 在wifi局域网下,手机可以和电脑通过socket通信。手机做服务端,电脑做客户端;也可以反过来,电脑做服务端,手机做客户端。 下面介绍的是手机作为服务端,电脑使用MFC编程作为客户端,原理是,手机建立一个ServerSocket,并获取自己的ip地址和端口port;然后电脑通过socket连接手机的ip:port。(In the WiFi LAN, the mobile phone can communicate with the computer through the socket. The mobile phone is the server side, the computer is the client; also can in turn, the computer does the service end, the mobile phone is the client. The following is the mobile phone as the server side. The computer uses MFC programming as the client. The principle is to set up a ServerSocket and get its IP address and port port. Then the computer connects ip:port to the mobile phone through socket.)
Platform: | Size: 6262784 | Author: sclink | Hits:
« 12 3 »

CodeBus www.codebus.net