文件名称:socket_communication
-
所属分类:
- 标签属性:
- 上传时间:2013-11-11
-
文件大小:2.89kb
-
已下载: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, it can serve multiple requests in parallel. Tip: Use Java or c/c++ language development by calling the operating system API interface to create threads assume 3 client, the client i send " Hi, God" , the server replied " What can I do for you, my son i" , displayed after the client receives the server reply. TCP and UDP were used to test the two protocols, port numbers Custom
开发一个多线程服务器,它能并行服务于多个请求。
提示:
用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, it can serve multiple requests in parallel. Tip: Use Java or c/c++ language development by calling the operating system API interface to create threads assume 3 client, the client i send " Hi, God" , the server replied " What can I do for you, my son i" , displayed after the client receives the server reply. TCP and UDP were used to test the two protocols, port numbers Custom
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Client2.java
Client3.java
MultiServer.java
ServerThread.java
Client.java
Client3.java
MultiServer.java
ServerThread.java
Client.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.