-
网络聊天小程序chat
一个有用的网络聊天小程序,含有全部源代码,经过调试(a useful Internet chat small program containing all the source code, after debugging)
- 2005-07-13 20:08:42下载
- 积分:1
-
client-server
多协议文件传输c/s网络应用设计与实现,程序用 TCP/UDP 两个协议模拟多协议服务器。首先服务器端要将两种协议的套接字创建好,并且监听 TCP 端口的连接。必要时使用select函数来进行多连接处理和非阻塞处理。而客户端直接可以按照发送的地址和端口号来进行通讯。
首先要运行服务器端,服务器会监听 TCP 端口。然后运行客户端,根据事先设定好的 IP和端口,就可以进行连接传输数据了。
程序实现的关键步骤:
以TCP协议为例
服务器端:
1.创建套接字;2.绑定端口;3.进入无穷的循环;4.接收请求;5.处理请求;6.应答。
客户端:
1.找到服务器的IP地址和协议的端口号;2.创建套接字;3.确定连接需要任意的,没有使用的端口号允许TCP去选择一个;4.将套接字和服务器连接;5.使用应用层协议和服务器交互;6.关闭连接。
(Multi-protocol file transfer c/s network application design and implementation of programs simulate multi-protocol server with TCP/UDP both protocols. First socket server to create a good two protocols, TCP port and listens for connections. If necessary, use the function to handle multiple connections and non-blocking treatment. And the client can follow directly address and port number to communicate.
First run on the server side, the server listens on TCP port. Then run the client, according to pre-configured IP and port, you can connect the data transmission.
The key step program implementation:
In TCP protocol as an example
Service-Terminal:
1. Create a socket 2 bound port 3 enter an infinite loop 4. receiving a request 5. processing requests 6 response.
Clients:
1. Locate the server s IP address and protocol port number 2 creates a socket 3 connections need to determine arbitrary, unused port allows TCP to choose a 4 and the socket server connections 5 using appli)
- 2016-07-11 10:19:07下载
- 积分:1
-
专家-神经网络代码
专家系统-神经网络代码(expert system-neural network code)
- 2021-02-16 12:49:47下载
- 积分:1
-
vcpeerYou
守候远程控制VC++源码,任意开源。已在XP下编译通过并运行。(Waiting for remote control of VC++ source code, any open-source. Has been compiled by and run under XP.)
- 2009-09-26 21:39:30下载
- 积分:1
-
72640969
界面通过串口与gprs modem通讯,上位机通过界面给其发AT命令,可以读取,删除,显示gprs modem中收到的手机(The interface communicates with gprs modem through serial port, and the host computer sends AT commands to gprs modem through interface. It can read, delete and display the mobile phone received in gprs modem.)
- 2018-12-05 11:01:20下载
- 积分:1
-
NetWork
这个是关于网络工作室的源代码,主要是用于网络编程的初级参考,希望能给刚入网络编程的朋友提供帮助(This is a studio on the network)
- 2007-09-03 18:27:40下载
- 积分:1
-
gen_demo
a code generation framework implemented in Ruby that attempts to go beyond the classic substitution of variables in templates
- 2013-10-25 09:41:43下载
- 积分:1
-
treebrowser
一个与MyIE功能相同的多窗口浏览器,相当实用,包含全部源代码,强烈推荐( With the MyIE function same multi- windows browser, is quite
practical, contains the complete source code, intense recommendation!
)
- 2004-07-09 15:12:06下载
- 积分:1
-
af
说明: 应急物流系统中的定位-路径优化 GreenSim团队原创作品(The positioning of emergency logistics system- route optimization GreenSim original works team)
- 2011-09-04 19:36:53下载
- 积分:1
-
OnvifOperation
基于Onvif C/C++开发环境 搜索Onvif设备,鉴权,并获取所以查找到设备的Rtsp地址(Based Onvif C/C++ development environment search Onvif equipment, authentication, and get so find the equipment Rtsp address)
- 2015-06-23 20:39:24下载
- 积分:1