使用Java的LAN即时通讯程序 [英] LAN instant messenger using Java

查看:155
本文介绍了使用Java的LAN即时通讯程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,先生,

我是一名学生,想使用Java制作LAN即时通讯程序.这是我们在学校的项目.我不知道从哪里开始.

另一个,建议我使用php和mysql吗?
但是我真的很想使用Java语言.

Hi sir,

I am a student and want to make a LAN instant messenger using Java. It''s for our project in school. I don''t know where to start.

Another one, is it recommended that I use php and mysql?
But I really want to use the Java language.

推荐答案

如果您不知道从哪里开始或如何做某件事,则几乎不必记住程序员所做的任何事情都是完全原创的.

因此,几乎可以肯定的是,某个地方的某人已经做到了,如果有的话,作为一名程序员,他们几乎肯定会告诉所有人这件事,以表明他们的聪明.

因此,您最好的来源是互联网搜索.您所要做的就是提供一个搜索词组,将您获得的点击次数限制在最有可能成为您想要的目标的范围内.

对于您的问题,例如 java lan im java lan即时通讯程序.
"java",因为这就是您要使用的.
"lan",因为您希望将其用于LAN.
"im",因为这就是您要编写的内容.
您还可以在末尾添加"source",这可能(也可能不会)将匹配项限制为具有源代码的匹配项.

然后通读所获得的热门歌曲摘要,确定您喜欢的热门歌曲,然后下载其中一些的源代码.

构建这些功能,从每个功能中确定您喜欢哪些功能,然后阅读源代码以了解该功能是如何实现的.

糟透了!
If you don''t know where to start or how to do a particular thing you have to remember that hardly anything that programmers do is totally original.

Therefore it is almost certain that someone, somewhere will already have done it and if they have, being a programmer, they will almost as certainly have told everyone about it to show how clever they are.

Your best source will therefore be an internet search. All you have to do is come up with a search phrase which will limit the hits you get to those most likely to be what you want.

For your problem something like java lan im or java lan instant messenger.
''java'' because that''s what you want to use.
''lan'' because you want it for a LAN.
''im'' because that''s what you want to write.
You could also add ''source'' to the end which may (or may not) limit the hits to those with source code.

Then read through the summaries of the hits you get, decide on those that you like the sound of and download the source code for a few of them.

Build those, decide which features you like from each one and then read the source to see how that feature was implemented.

Shimples!


这篇关于使用Java的LAN即时通讯程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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