使用套接字编程用java创建聊天室 [英] creating a chat room with java using socket programming
本文介绍了使用套接字编程用java创建聊天室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想通过套接字编程建立聊天室。我想知道如何以图形方式将两个客户端连接到z服务器!
i want to make a chat room by socket programming.i want to know how can i connect two clients to az server in a graphical way!
推荐答案
让我启动你:
Let me start you off:
package com.camelya.chat;
public class ChatClientApp {
/**
* Starting point for the client
*/
public static void main (String[] args) {
// start your code here!
}
}
这篇关于使用套接字编程用java创建聊天室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文