文件名称:TCPClient_Server
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- Al***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个Java网络应用程序,该应用分服务器端程序和客户端程序两部分。服务器程序启动后,监听端口5678的请求;客户端程序启动后,向服务器端口5678发送请求。服务器不断接收客户机所写入的信息,并且服务器也会做出"Receive"为回应,告知客户机已接收到消息。要求:服务器程序采用多线程开发,允许多个客户端程序同时连接。客户机发送"End"字符串时,客户端程序退出-Write a Java web application, the application sub-server-side program and client program in two parts. Server program started, listening port 5678 of the request client program starts, send a request to the server port 5678. Server, the client continued to receive the written information, and the server will also make a " Receive" In response to inform the client has received the message. Requirements: Multi-threaded server program development, allowing multiple simultaneous connections the client program. The client sends " End" string, the client program exit
相关搜索: TCPClient_Server
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TCPClient.java
TCPServer.java
TCPServer.java