有关聊天应用程序的查询 [英] Query regarding the Chat Application

查看:97
本文介绍了有关聊天应用程序的查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想了解Java中的聊天应用程序.
关于作为聊天客户端的多台计算机如何连接到作为聊天服务器的服务器的困惑.

谢谢

I want to get idea about the chat application in Java.
Confusion in how multiple computers that are chat client can connect to the server that is Chat server.

Thanks

推荐答案

[ ^ ]基本示例应该可以帮助您了解其工作原理.

请记住,基础是使用TCP协议的套接字,并且该套接字一旦打开,便会侦听特定端口.
This[^] fundamental example should help you understand how this works.

Remember the basis is a socket that uses the TCP protocol and once opened, listens on a particular port.


这篇关于有关聊天应用程序的查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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