本文介绍了紧急考虑此聊天服务器(关于此聊天服务器)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图从使用可自定义的GUI进行Java聊天 [ ^ ],
当我使用jar文件运行该程序时,该程序运行良好,但是当我尝试在eclipse上运行该程序时,服务器未响应,则显示连接已关闭.

我试图在该程序中更改房间名称,但是我找不到当前使用的房间名称",该程序的客户端不要求服务器机器名称(即它应该询问我的房间名称和端口)要连接的计算机),它会自动检测并开始运行,如果不询问计算机名称,那么客户端将如何与其他计算机连接
还有,
服务器没有自己的窗口,因此一旦启动服务器,我们将如何控制房间(即如何在房间外使用踢人功能等).

等待你的答案..
Thanks

i was trying to run the program from Java Chat With Customizable GUI[^],
the program works fine when i run it using jar files,but when i try to run it on eclipse,the server does not respond,it shows connection closed.

i was trying to change the room name in that program but i could not find the "room names currently used" secondly,the client side in the program does not ask for the server machine name(i.e it should ask the name and port of my machine to connect to),it automatically detects and start running,if it will not ask for the machine name then how will the client connect from other machine
also,
the server has no window of its own so once we start the server then how can we control the rooms(i.e how to use the kick user out of room options e.t.c).

waiting for your answers..
thanks

推荐答案


这篇关于紧急考虑此聊天服务器(关于此聊天服务器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 14:48
查看更多