-
QQProject
说明: 在Internet上的聊天室程序一般都是以服务器提供服务端连接响应,使用者通过客户端程序登录到服务器,就可以与登录在同一服务器上的用户交谈,这是一个面向连接的通信过程。因此,程序要在TCP/IP环境下,实现服务器端和客户端两部分程序。(In Internet chat rooms on the procedure is generally based on the server side connection in response to the provision of services, the user through the client program to log on to the server, you can log in the same server with the user to chat, this is a connection-oriented communication process. Therefore, procedures to TCP/IP environment, the realization of server-side and client procedures in two parts.)
- 2008-08-30 00:00:05下载
- 积分:1
-
12864
说明: 点阵式液晶显示片
型号:12864 驱动程序(Dot-matrix liquid crystal display film models: 12864 driver)
- 2009-08-22 14:38:41下载
- 积分:1
-
IEEE9
说明: bpa软件实现三机九节点潮流程序与稳定程序分析(BPA software three machine nine node power flow and stability program analysis)
- 2020-03-02 11:34:33下载
- 积分:1
-
12084247tao2
基于ICMP协议的ping程序设计实验基于ICMP协议的ping程序设计实验(Based on the ICMP protocol ping program designed experimental program designed experiments based on the ICMP protocol ping)
- 2012-10-29 10:54:54下载
- 积分:1
-
CPP-Network-Programming-Volume-1aa2
说明: ACE网络编程的书籍,分为卷一和卷二,打包在了一起。英文版(ACE network programming books, is divided into Volume I and Volume II, packaged together. English)
- 2011-03-18 17:36:18下载
- 积分:1
-
acl-master
acl_cpp 是基于 acl 库的 C++ 库,包括 MIIME 解析、Handlersocket 客户端库、数据库连接池(支持mysql/sqlite)、WEB 编程、数据库编程、阻塞/非阻塞数据流等内容。(acl_cpp is based acl library of C++ libraries, main elements: common features acl C library, MIIME parsing, Memcached client library, Handlersocket client library, connection pool (support mysql/sqlite), WEB programming, programming, blocking/non-blocking streams and other content.)
- 2015-01-14 18:16:56下载
- 积分:1
-
comt
com密码获取 获取IE密码源码 软键盘密码等等一系列(com password to obtain access to the the IE password source soft keyboard password so a series of)
- 2013-02-02 23:02:53下载
- 积分:1
-
SMTP_POP3
INternet网络协议,邮件通用协议。使用过还可以(Internet network protocol, the message universal agreement. Can also be used)
- 2012-05-23 17:56:02下载
- 积分:1
-
juyuwang
该程序简单介绍了如何创建局域网的C/S工作模式,简单可靠。(The simple procedure describes how to create LAN C/S mode, simple and reliable.)
- 2011-10-14 14:31:59下载
- 积分: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