-
服务器聊天室编写 c/s
服务器聊天室编写 c/s- The server chatroom compiles c/s
- 2023-08-16 09:55:03下载
- 积分:1
-
GetNetSetting2
Visual C++ 6.0.此代码可以进行显示网络设置,包括IP地址等。(Visual C 6.0. This code can show network configuration, including the IP address.)
- 2005-04-20 22:39:50下载
- 积分:1
-
ASP website module, module can be used to produce personal websites
ASP网站模块,可以以此为模块制作个人网站-ASP website module, module can be used to produce personal websites
- 2022-07-03 21:42:33下载
- 积分:1
-
good example, will learn good things
好的例子,会学到好东西-good example, will learn good things
- 2022-03-06 02:00:02下载
- 积分: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
-
tcp_illinois
TCP Illinois congestion control.
- 2015-06-16 17:22:09下载
- 积分:1
-
UDP套接字编程
可通过U D P套接字及接口函数发送/接收数据
1. 在Linux系统下,采用C语言编写一个U D P服务器程序,客户向服务器发送字符串后,服务器能把该字符串返回给客户程序。
2. 在Linux系统下,采用C语言编写一个U D P客户程序,可向服务器发送字符串,并把服务器返回的字符串显示出来。(Data can be sent / received through U D P sockets and interface functions.
1. In Linux system, a U D P server program is written in C language. After the client sends the string to the server, the server can return the string to the client program.
two. Under the Linux system, a U D P client program is written in C language,which can send a string to the server and display the string returned by the server.)
- 2020-06-24 19:40:01下载
- 积分:1
-
简单的服务器源码 tinyhttpd-0.1.0
说明: 这是一个极其简单的服务器源码。。。。仅供学习参考(This software is copyright 1999 by J. David Blackstone.)
- 2020-06-20 03:40:01下载
- 积分: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
-
VNC源码
VNC源码
- 2014-09-12下载
- 积分:1