搜索资源列表
-
0下载:
服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单,Java API为处理套接口的通信提供了一个类java.net.Socket.,使得编写网络应用程序相对容易.服务器采用多线程以满足多用户的请求,通过JDBC与后台数据库连接,并通过创建一个ServerSocket对象来监听来自客户的连接请求,默认端口为8080,然后无限循环调用accept()方法接受客户程序的连接 客户通过Socket(InetAddress,port)建立与服务器的连接。服务器与客户都通过构
-
-
0下载:
简单实现java socket里面的服务端和客户端。用户状态信息,在线人数等-Simple implementation of java socket inside the server and the client. User status information, such as number of online
-
-
0下载:
socket通信应用实例,包括文件传输、保存处理。分有服务器端和客户端,客户端发送请求,服务器端调数据处理后传回客户端-SuperMarket,divided by server part and client part,using socket and intput/outputstream.
-
-
0下载:
运用socket通信,实现端对端的通信以及管理,有客户端和服务器端。-The use of socket communication, to achieve end to end communications and management, client and server side.
-
-
0下载:
当一个客户端网页和服务器连接后,将Socket存储起来,关闭客户端后将Socket移除。-When a web client and server connections, will Socket stored, close the client will Socket removed.
-
-
0下载:
北航面向对象建模课程大作业。实现局域网内即时通信工具,含客户端服务端,支持注册、添加好友、即时会话等工能。涉及知识含socket通信、数据库、多线程等。约4000行-Object-oriented Modeling Course project in Beihang University implementing a LAN instant messaging tool including Server and Client.Registering , adding friends and in
-
-
0下载:
使用JAVA编写的server与client互相利用socket接口通信的程序,可以进行修改和二次开发-Communication for server and client via socket programming, based on Java, and it is considered to be a template for advanced extension.
-
-
0下载:
TCP套接字编程实现:
开发一个多线程服务器,它能并行服务于多个请求。
提示:
用Java或c/c++语言开发;
通过调用操作系统API接口创建线程;
假定3个客户端,客户端i发送“Hi,God”,服务器回答“What can I do for you, my son i”,客户端收到后显示服务器回答。
分别用TCP和UDP两个协议来测试,端口号自定义
-TCP socket programming: Develop a multi-threaded server,
-
-
0下载:
用swing写的一个socket服务端,与之前写的客户端对应,大家可以一起下载下来使用,功能很简单。但是有些常见的问题都包含在里面。比如自定义皮肤、系统托盘、系统托盘闪动提醒、右下角提示窗口-With swing write a socket server, and client correspondence written before, we can all be downloaded to use, very simple. However, some common problems ar
-
-
0下载:
Java的Socket服务端程序,可以接受客户端的数据,并返回相关的信息-Socket server program can accept client data, and returns relevant informatione
-
-
0下载:
局域网聊天程序:一个以Socket通信机制为基础的网络聊天程序。
服务器端:
多线程方式处理客户端,负责响应客户端的各种信息:用户登录、客户端请求处理。
客户端:
(1)、负责用户界面初始化、为用户提供登录界面、将信息发送至服务器、接受服务器反馈,实时显示信息。
(2)、负责实现用户界面的各种组件事件的处理。
(3)、当用户单击好友图标时,将初始化新的聊天窗口,并通过UDP建立与其他用户的通信。当用户收到其他用户发来的数据报,将在本地初始化新的对话窗口,并开始通信。-LA
-
-
0下载:
多人聊天室的实现,运用Socket编程,包含客户端和服务器端代码。-Chat room for more than two persons to use, using Socket programming, including client and server-side code.
-
-
0下载:
使用JAVA开发的网络聊天程序,带有UI界面以及客户端和服务器端的全部代码,适合于课程设计和JAVA的Socket编程学习,通信协议为IP。-Developed using JAVA network chat program , with all the code UI interface and client and server side , suitable for curriculum design and JAVA Socket Programming learning , commu
-
-
0下载:
考试系统,java,实现了服务器端从文件读取考试题,并通过socket传给客户端,用户在一定时间内按顺序答题。可以作为一个此类应用的简单参考实现。
-Examination system, java, implements server-side reading exam questions from a file, and through the socket to the client, the user within a certain period of time in order
-
-
0下载:
利用Java语言提供的Socket技术,建立一个C/S模式的应用,允许客户端用户输入2个整数,服务器端接收这2个整数,并计算出它们的和、差、积、商,最后送回客户端-Socket Java language provides the use of technology, the establishment of the application of a C/S mode, which allows the client user input two integers, the server rec
-
-
0下载:
Socket和SocketServer客户端和服务端互相通信-Socket and SocketServer client and server communicate with each other
-
-
0下载:
使用ServerSocket和Socket实现服务器端和客户端的Socket通信-Socket communication using ServerSocket and Socket to achieve client and server
-
-
0下载:
用Java的Socket机制实现一个能进行简单HTTP命令(如GET)操作的客户端和能进行响应的服务器。-Using Java Socket mechanisms used to achieve a simple HTTP commands (such as GET) client operations and can respond to the server.
-
-
0下载:
.编制一个类似QQ的即时聊天程序,该程序使用面向连接的Socket通信机制。整个程序分成服务器端和客户端两部分,通信双方能够互相发送文字进行简单的聊天,最后双方都可以输入quit结束对话。-. The preparation of a similar QQ instant messaging program that use a connection-oriented Socket communication mechanism. The entire program is divided in
-
-
0下载:
Socket 编程
服务器与客户端交互过程:
(1)服务器程序创建一个ServerSocket,然后调用accept方法等待客户来连接。
(2)客户端程序创建一个Socket请求与服务器建立连接。
(3)服务器接受客户的连接请求,并创建一个新的Socket与该客户建立专线连接。
(4)建立了连接的两个Socket在一个单独的线程(由服务器程序创建)上对话。
(5)服务器开始等待新的连接请求,当新的连接请求到达时,重复步骤(2)到步骤(5)的过程。-This is a la
-
«
1
2
...
7
8
9
10
11
1213
14
»