Welcome![Sign In][Sign Up]
Location:
Search - 客户机/服务器

Search list

[Web Server用WinSocket创建客户机服务器程序

Description: 用WinSocket创建客户机服务器程序 请斑竹通过,我好喜欢这个网站啊,连做梦都是呀-Winsocket used to create client-server requests fed through, I like this site good ah, even dreaming are ah
Platform: | Size: 16681 | Author: soft271 | Hits:

[Internet-Network用WinSocket创建客户机服务器--UDP

Description: 用WinSocket创建客户机服务器--UDP,为了写这个程序,花了我好长时间,无奈水平有限,是初学,请多指教-Winsocket used to create client-server -- UDP, in order to write this procedure, I spent a good long time, the limited level of frustration is beginner, please enlighten
Platform: | Size: 15147 | Author: soft271 | Hits:

[Internet-Network在Linux中实现客户机-服务器通信

Description: 分布式计算实验——在Linux中实现客户机-服务器通信-distributed computing experiment -- in Linux to achieve client-server communication
Platform: | Size: 2103 | Author: 冯昊飞 | Hits:

[Communicationjava实现服务器和客户机通讯的的方法

Description: 本文介绍一种用Java的Socket和ServerSocket实现服务器和客户机通讯的的方法。原理是在服务器端建立ServerSocket端口并监听,接收到客户端的连接请求时建立Socket,得到Socket的输入输出流。在客户端新建Socket并获得输入输出流。服务器和客户端的输入输出流建立后使用writeLine()和println()方法彼此发送和接收数据。为提高代码效率,建立两个类clientAgent和serverAgent。 -This article introduces a Java ServerSocket socket server and and client communication methods. The principle is established on the server side ServerSocket ports and eavesdropping, reception to the client connection request to establish socket, the socket to be input and output streams. The new Socket client and access input and output streams. Server and client input and output streams used after the establishment of writeLine (), and println () side France each other to send and receive data. To improve code efficiency, the establishment of two categories clientAgent and serverAgent.
Platform: | Size: 6027 | Author: 郑描中 | Hits:

[WinSock-NDISTCP实现客户服务器聊天程序

Description:

 

操作系统课程设计任务书


一、设计题目:多机进程通信

应用Socket进程通信技术编写聊天室程序,实现基于服务器的并发多机信息转发。如果各客户端在线则可以实时聊天、发送接收文件,如果某客户端离线,则发送给他的消息可由服务器端进行内容缓存,待重新连线后可以自动接收通过服务器转发的信息或文件。缓存与转发的控制算法可参考操作系统课程中生产者消费者进程同步方法、缓冲池技术等相关理论。
二、设计思路和功能的详细描述
采用TCP协议,所以属于客户机/服务器模式,因此需要聊天服务器端和聊天客户端两个程序,实现的功能是:任意一台装有客户端程序的计算机都可以通过服务器端的IP地址与服务器相连,然后进入聊天室与连接到服务器的其他客户进行聊天。当客户聊天结束时,可以点断开与服务器断开连接,以释放进程让其他等待的客户进入聊天室,本聊天室最大同时支持50个客户端的连接,如果服务器配置较高可以修改程序来增加同时连接数。
三、采用的方法、技术、运行环境及其配置
本聊天程序采用TCP协议,用VC++编写,属于客户机/服务器模式。采用了多线程的机制。其中使用windows Sockets实现多台计算机(多个进程)间的通信,SOCKET实际在计算机中提供了一个通信端口,可以通过这个端口与任何一个具有SOCKET接口的计算机通信。应用程序在网络上传输,接收的信息都通过这个SOCKET接口来实现。客户机/服务器模式中客户应用程序向服务器程序请求服务。一个服务程序通常在一个众所周知的地址监听对服务的请求,也就是说,服务进程一直处于休眠状态,直到一个客户对这个服务的地址提出了连接请求。在这个时刻,服务程序被“惊醒”并且为客户提供服务即对客户的请求作出适当的反应。本聊天程序就是基于这中思想实现的,程序分为两大部分:TCP聊天服务器端和TCP聊天客户端。两者都拥有各自的SOCKET接口,其中服务器端SOCKET接口需要绑定到固定地址上(实现语句:ock=Socket(AF_INET,SOCK_STREAM,0);),等待客户端的连接(实现语句:listen(sock,5);)。等待客户端的连接的过程就是通过多进程机制来实现的。
聊天程序是在VISUAL C++6.0上编译实现的,在WINDOWS2000,XP上测试运行成功。
对客户计算机配置无特殊要求,由于所设置的最大连接进程为50,所以对服务器要求也不高。
四、关键源程序及其详细的注释
<一>、服务器端
1
、Socket初始化
//
初始化对话框
BOOL CCSocketDlg::OnInitDialog()
{

count=0;

m_list.InsertColumn(0,"消息");

m_list.SetColumnWidth(0,435);

m_edit.SetLimitText(99);

.

.

.

.

 


Platform: | Size: 55808 | Author: lenjear | Hits:

[WinSock-NDIS针对DAYTIME服务的UDP客户机和服务器的实现

Description: 编写针对DAYTIME服务的UDP客户机和服务器的实现,要显示DAYTIME返回的日期和时间值。
Platform: | Size: 160870 | Author: 541831173@qq.com | Hits:

[Program doc通讯时服务器和客户机端socket API通讯流程

Description: 通讯时服务器和客户机端socket API通讯流程
Platform: | Size: 30208 | Author: 415312535@qq.com | Hits:

[Communication基于OPC的RSView32服务器与vc客户机通信

Description: RSView32作为上位机服务器,vc开发程序作为客户端,通话OPC实现交互
Platform: | Size: 3998579 | Author: wangsong300@sohu.com | Hits:

[SourceCode基于tcp/ip的网际互连

Description: 上传的代码主要是根据基于tcp/ip网际互联而实现了客户机,客户机/服务器模型的模拟,代码写的比较干净,已经在实验室经过调试运行,具有一定的价值。
Platform: | Size: 15105 | Author: liaozi | Hits:

[WinSock-NDIS服务器客户机源码

Description: 服务器客户机源码
Platform: | Size: 31232 | Author: 1486555716@qq.com | Hits:

[ICQ-IM-Chat简单的聊天程序

Description: 要求使用1对1的连接,具体形式为面向连接的TCP客户机/服务器模式。在两台机器(同一台机器上也可以)上依次启动服务器、客户端,在客户端输入正确的服务器地址后确认连接是否成功;若成功则可以在客户端和服务器短之间互相收发信息-require the use of one pair of a link to specific forms of TCP connection-oriented client/server model. The two machines (the same machine can), followed restart the server, client, the client server input the correct address after connecting recognized success; If success can be in the client and server between short transceiver information
Platform: | Size: 57344 | Author: 陆阳 | Hits:

[Consolehenclib263

Description: 客户机/服务器系统比文件服务器系统能提供更高的性能,因为客户端和服务器端将应用的处理要求分开,同时又共同实现其处理要求,对客户端程序的请求实现“分布式应用处理”。服务器为多个客户端应用程序管理数据,而客户端程序发送、请求和分析从服务器接收的数据,这是一种“胖客户机 (Fat Client)”,“瘦服务器 (Thin Server)”的网络计算模式。服务器处理服务要求的过程实际是,先获取传送来的头信息,然后根据头信息新建文件,然后继续接受数据写入文件,当接受完数据后关闭文件。-client/server systems over file server systems can provide higher performance, because the client and server-side applications will be processed separately, but also to achieve their common processing requirements, the client's request to achieve "distributed application processing." Server for a number of client applications data management, and client send request from the server and analysis of the data received, it is a "fat client (Fat Client)", "thin servers (Thin Server)," the network computing model. Server service requirements of the actual process, first to obtain the first delivery of information, according to new information first, and then continue to receive data into the document when they were closed after the data and documents.
Platform: | Size: 2729984 | Author: 徐航 | Hits:

[ICQ-IM-Chat用WINSOCK实

Description: WINSOCK 是在Windows进行网络通信编程的API接口,也是Windws网络编程的事实标准。在网络编程中最常用的方案便是客户机/服务器模型。本文提出了在客户机/服务器模型下用WINSOCK实现Internet中常见的聊天室软件的方案。-WINSOCK is in the Windows communications network programming API, as well as network programming by Windows, the de facto standard. Network programming in the most commonly used program is the client/server model. The paper provides a client/server model with Winsock achieve common Internet chat room software programs.
Platform: | Size: 39936 | Author: 六开 | Hits:

[Web Server用WinSocket创建客户机服务器程序

Description: 用WinSocket创建客户机服务器程序 请斑竹通过,我好喜欢这个网站啊,连做梦都是呀-Winsocket used to create client-server requests fed through, I like this site good ah, even dreaming are ah
Platform: | Size: 16384 | Author: soft271 | Hits:

[Internet-Network用WinSocket创建客户机服务器--UDP

Description: 用WinSocket创建客户机服务器--UDP,为了写这个程序,花了我好长时间,无奈水平有限,是初学,请多指教-Winsocket used to create client-server-- UDP, in order to write this procedure, I spent a good long time, the limited level of frustration is beginner, please enlighten
Platform: | Size: 15360 | Author: soft271 | Hits:

[Internet-Network在Linux中实现客户机-服务器通信

Description: 分布式计算实验——在Linux中实现客户机-服务器通信-distributed computing experiment-- in Linux to achieve client-server communication
Platform: | Size: 2048 | Author: 冯昊飞 | Hits:

[ADO-ODBC文档资料信息管理系统

Description: 公司文档资料信息管理系统,自己学PB时的小程序! PowerBuilder是著名的数据库应用开发工具生产厂商PowerSoft公司推出的产品(PowerSoft现已被数据库厂商Sybase所收购),它完全按照客户机/服务器体系结构研制设计,在客户机/服务器结构中,它使用在客户机中,作为数据库应用程序的开发工具而存在。由于PowerBuilder采用了面向对象和可视化技术,提供可视化的应用开发环境,使得我们利用PowerBuilder,可以方便快捷地开发出利用后台服务器中的数据和数据库管理系统的数据库应用程序。-company information management system, PB studied the small program! PowerBuilder is one of the leading database application development tool manufacturers Wikipedia companies the products introduced (Wikipedia has been database vendor Sybase acquired), it is fully in accordance with the client/server architecture design developed in the client/server structure, it uses the client, as database application development tools exist. As used PowerBuilder object-oriented and visualization technology, Visualization provides the application development environment, has enabled us to use PowerBuilder, quick and easy to be developed using background of the data server and database management system database applications.
Platform: | Size: 948224 | Author: 熊鑫鹏 | Hits:

[Other数字转英文

Description: 数字转英文 PowerBuilder是著名的数据库应用开发工具生产厂商PowerSoft公司推出的产品(PowerSoft现已被数据库厂商Sybase所收购),它完全按照客户机/服务器体系结构研制设计,在客户机/服务器结构中,它使用在客户机中,作为数据库应用程序的开发工具而存在。由于PowerBuilder采用了面向对象和可视化技术,提供可视化的应用开发环境,使得我们利用PowerBuilder,可以方便快捷地开发出利用后台服务器中的数据和数据库管理系统的数据库应用程序。-figures to be the famous English PowerBuilder database application development tool manufacturers Po werSoft company's products (Wikipedia is now Sybase database collected by the manufacturers purchase), it is fully in accordance with the client/server architecture design developed in the client/server structure, it uses the client, as database application development tools exist. As used PowerBuilder object-oriented and visualization technology, Visualization provides the application development environment, has enabled us to use PowerBuilder, quick and easy to be developed using background of the data server and database management system database applications.
Platform: | Size: 59392 | Author: scxxp | Hits:

[Communication01272

Description: C/S型数据库   C/S(Client/Server,客户机/服务器)型数据库是当前数据库应用的主流。   与文件型数据库不同的是,C/S型数据库应用程序由两个部分组成:服务器和客户机。服务器指数据库管理系统(Database Manage System,DBMS),用于描述、管理和维护数据库的程序系统,是数据库系统核心组成部分,对数据库进行统一的管理和控制。客户机则将用户的需求送交到服务器,再从服务器返回数据给用户。-C/S database C/S (Client/Server, Client/Server) database is the current mainstream database applications. Document database is different, C/S database applications by two components : the server and client. Referring to the server database management system (Database Manage System, DBMS). used to describe, management and the procedures for maintaining the database is a system database system core components, the unified database for the management and control. Clients will be sent to the demand of users to the server, then return data from the server to the user.
Platform: | Size: 4608000 | Author: 江南燕 | Hits:

[Otherwssf

Description: JICQ是用JAVA语言编写的一个基于客户机/服务器(C/S)模式的局域短信实时通信工具系统,系统采用了Microsoft公司的SQL Server 2000作为后台数据库,系统通过JDBC访问数据库。系统分为服务器程序和客户程序两部分,服务器与客户间采用“传输控制协议”(TCP),通过套接字(Socket)连接,客户之间采用“用户数据报协议”(UDP),通过数据报套接字(DatagramSocket)建立连接。系统具有用户注册、用户登录、添加好友、删除好友、发送和接收消息等功能。-JICQ Java is a language based on the client/server (C/S) mode Local SMS real-time communications tool, the system uses Microsoft's SQL Server 2000 database as a background, system access to the database through JDBC. System is divided into server and two clients, the server-client "Transmission Control Protocol" (TCP), socket (Socket) connectivity, customers using the "User Datagram Protocol" (UDP), through Datagram Sockets (DatagramSocket) establish a connection. Users registered with the system, users log in, friends add, delete friends, send and receive news and other functions.
Platform: | Size: 54272 | Author: 乔峰 | Hits:
« 12 3 4 5 6 7 8 9 10 ... 50 »

CodeBus www.codebus.net