Java中的聊天应用程序 [英] Chat Application in java
本文介绍了Java中的聊天应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我是Java的新手,现在正在用Java构建聊天应用程序.我浏览了一些教程,发现了一些很好的示例,但是其中大多数都是将消息从发送者广播到所有接收者.
我需要的是发件人只能与他的朋友聊天,我需要创建套接字的数组列表吗?
有什么建议吗?
谢谢.
Hi guys,
I am a newbie in java, and I am now build a chat application in java. I went through some tutorials, and found some good sample however, most of them they broadcast message from sender to all receiver.
What I need is a sender could chat only with his friends, Do i need to create array list of socket??
Any suggestions?
Thank.
推荐答案
我认为这对您有帮助
具有可自定义GUI的Java聊天 [ http://www.daniweb.com/software-development/java/thread/29913/making-a-chatting-application [ ^ ]
http://sunels.wordpress.com/category/java-chat-application-source-code / [^ ]
I think this will help you
Java Chat With Customizable GUI[^]
http://www.daniweb.com/software-development/java/threads/29913/making-a-chatting-application[^]
http://sunels.wordpress.com/category/java-chat-application-source-code/[^]
这篇关于Java中的聊天应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文