-
UDPSERAPP
基于UDP协议通信 实现电脑之间的字符通信 简单的聊天功能(character communication based on UDP )
- 2014-09-19 11:46:58下载
- 积分: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
-
P2P-UDP-NAT_2015-05-28-16-09-27
NAT(Network Address Translators),网络地址转换:网络地址转换是在IP地址日益缺乏的情况下产生的,它的主要目的就是为了能够地址重用。NAT分为两大类,基本的NAT和NAPT(Network Address/Port Translator)。(The principle and implementation of UDP NAT through P2P
)
- 2015-05-28 16:10:00下载
- 积分:1
-
Visual C实现POP3邮件接收程序
用pop3实现邮件的接收功能,图形化界面,基于MFC(please read Chinese comments,thank you)
- 2021-01-16 17:38:50下载
- 积分:1
-
WEHRGMO553
一个用C写的内存管理系统,模拟操作系统内存,很好不错的(A memory management system written in C, analog operating system memory, very good)
- 2018-09-30 04:35:54下载
- 积分:1
-
computer_networks
浙江大学 《网络技术》课程资料 对应教材《计算机网络》第4版(Zhejiang University " Network Technology" course materials)
- 2013-05-25 08:40:35下载
- 积分:1
-
liaotianchengxu
VC++编写的聊天程序。可在局域网内进行聊天。界面清晰(VC++ to prepare the chat program. Can be carried out in the local area network chat. Clear interface)
- 2009-06-14 10:28:05下载
- 积分:1
-
CSharpchat
网络编程chat聊天工具好东西啊,快来下载把(Network Programming)
- 2013-07-02 16:04:49下载
- 积分:1
-
MY_QQ
聊天界面,简易的聊天界面懂得更多,了解更多,沟通更多(Chat interface, a simple chat interface know more, learn more, communicate more)
- 2013-07-17 22:34:50下载
- 积分:1
-
bcast
此程序实现了IPX/UDP/TCP三种协议的广播( This procedure has realized the IPX/UDP/TCP three kind of
agreements broadcasts )
- 2020-06-26 12:20:02下载
- 积分:1