-
uhort
一个可以切分bin格式的图形文件的程序,推荐()
- 2017-10-27 11:11:12下载
- 积分:1
-
chap3
用socket编程实现点对点通信,TCP客户端程序,TCP服务器程序,以及UDP点对点聊天通信。(Point to point communication, TCP client, TCP server, and UDP peer chat communication socket programming.)
- 2020-07-04 14:20:01下载
- 积分:1
-
Book_Source_Code.VisualC++NetWork
使用VC进行网络通讯程序开发的代码,比较全面,有代表性。代码质量高。(use VC network communications program development codes, more comprehensive and representative. High-quality code.)
- 2007-05-28 23:32:58下载
- 积分:1
-
UDPSERAPP
基于UDP协议通信 实现电脑之间的字符通信 简单的聊天功能(character communication based on UDP )
- 2014-09-19 11:46:58下载
- 积分:1
-
HTTPGetPost_src1
说明: httppost的实现方法基于visualc++实现(httppost based on the method to achieve visualc)
- 2006-04-22 21:50:55下载
- 积分:1
-
17501500
用VC写的界面编程,可实现用图形纹理的设计,()
- 2018-02-24 23:36:04下载
- 积分:1
-
MachRemote
MACH3软件二次开发的一个实例程序,希望对喜欢MACH3二次开发的朋友有帮助。(MACH3 software secondary development of an example program, we want to enjoy MACH3 secondary development to help a friend.)
- 2021-01-15 15:28:46下载
- 积分:1
-
lbmsim-0.8
LBM格子波尔兹曼C程序,特别全,下载即可。(LBM Lattice Boltzmann C procedures, particularly full, download.)
- 2014-03-04 09:20:45下载
- 积分: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
-
UDP-communication
一个基于 Labview 的 UDP 通信实例。用户可通过该实例对 TCP-UDP 协议的工作方式有基本的了解。(Labview an instance of communication based on UDP. Users can work through the example of TCP-UDP protocol is a basic understanding.)
- 2015-07-07 19:16:37下载
- 积分:1