文件名称:865880434
-
所属分类:
- 标签属性:
- 上传时间:2013-06-23
-
文件大小:893.46kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单,Java API为处理套接口的通信提供了一个类java.net.Socket.,使得编写网络应用程序相对容易.服务器采用多线程以满足多用户的请求,通过JDBC与后台数据库连接,并通过创建一个ServerSocket对象来监听来自客户的连接请求,默认端口为8080,然后无限循环调用accept()方法接受客户程序的连接 客户通过Socket(InetAddress,port)建立与服务器的连接。服务器与客户都通过构造BufferedReader,PrintWriter来建立输入输出流,然后双方通过该输入输出流来相互传递信息,一旦收到客户方的连接请求,服务器accept()方法返回一个新建的Socket对象。-Server and client through socket Socket (TCP) connections. In java socket is quite simple, Java API sets to address the communications interface provides a class java.net.Socket., Makes writing network applications with relative ease. Multi-threaded servers to meet the multi-user' s request, with the back-end database through JDBC connections, and through the creation of a ServerSocket object to listen for connection requests from clients, the default port is 8080, then an infinite loop calling accept () method accepts client connections customers through the Socket (InetAddress, port) to establish a connection with the server. Server and the client through the construction BufferedReader, PrintWriter to create input and output streams, and then the two sides through the input and output streams to pass information to each other, upon receipt of the customer' s connection request, the server accept () method returns a new Socket object.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
pic.zip
src/
src/compli.bat
src/src/
src/src/MainWin.java
src/src/New.java
src/src/Register.java
src/src/Server.java
基于JAVA的ICQ系统的设计于实现.doc
src/
src/compli.bat
src/src/
src/src/MainWin.java
src/src/New.java
src/src/Register.java
src/src/Server.java
基于JAVA的ICQ系统的设计于实现.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.