请帮助我创建多线程客户端和服务器 [英] pls help me in creating a multi-threaded client and a server

查看:130
本文介绍了请帮助我创建多线程客户端和服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

服务器
多线程UDP服务器,它将:
1.等待客户端连接
2.客户端连接后,服务器将发送当前时间
和(服务器的)日期;
和一个琐事(任何真正的琐事都会这样做,
琐事列表应放在保存在同一文件中的文件中
位置作为服务器).
3.服务器将终止与客户端的连接.

客户
创建一个简单的Java UDP客户端,该客户端将连接到上面的服务器
并接受并打印来自服务器的数据.您为什么不在工作板上重新发布该广告,并提及您要支付的费用.


SERVER
a multi-threaded UDP server that will:

1. wait for a client to connect
2. once a client is connected, the server will send the current time
and date (of the server);
and a trivia (any real trivia will do and
the list of trivias should be placed in file saved in the same
location as the server).
3. the server will end the connection to the client.

CLIENT
create a simple java UDP client that will connect to the server above
and accept and print the data coming from the server.

解决方案

I''d be glad top help. Why don''t you repost this want ad on the job board, mentioning how much you are paying.


这篇关于请帮助我创建多线程客户端和服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆