-
SEVER
多人在线的网络聊天室—服务器,简化实用
可以修改后添加其他功能(Multiplayer online chat rooms- server, simplifying practical
Other functions can be modified to add)
- 2013-10-05 19:42:35下载
- 积分:1
-
HLA
HLA仿真程序设计 学RTI的必备书,此书包含HLA的文件结构说明以及联机实例。望对大家有用(HLA RTI Design simulation program essential book, this book contains the file structure of HLA-line instructions and examples. Hope useful for all)
- 2020-10-29 11:19:57下载
- 积分: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
-
vc6
串口转以太网通信的例子,有需要的可以参考参考,vc6写的.(Examples of serial to Ethernet communications, we need to refer to reference, vc6 written.)
- 2010-12-25 21:54:54下载
- 积分:1
-
client
局域网监控系统客户端程序,可以与服务器端的程序一起形成一个局域网监控系统。(juyuwang jiankong kehuduan)
- 2010-12-24 16:39:18下载
- 积分:1
-
SPEI
SPEI计算SPEI的R语言版与可执行版(含下载网址).rar(SPEI calculated SPEI R-language version of the executable version (with download link). Rar)
- 2020-10-17 14:37:27下载
- 积分:1
-
client2
客户端连接服务器的程序,以此测试客户端是否连接上。(client programming source)
- 2013-09-02 16:17:04下载
- 积分:1
-
multi_thread_udp
多线程UDP通讯例子( Multi-thread UDP communication example )
- 2020-06-26 11:40:01下载
- 积分:1
-
Cpp1108
程序时用循环进行一些数据的输入输出 以及数据的更新等操作(Program carried out with the cycle of some of the data input and output, and data updating operations)
- 2016-02-16 11:21:48下载
- 积分:1
-
CHAP40
There is no souse code. Just trash
- 2015-06-23 15:27:47下载
- 积分:1