목록전체 글 (1046)
올해는 머신러닝이다.
자바 멀티채팅클라이언트 기본소스
import java.net.*; import java.io.*; import java.util.*; import java.net.*; public class ChatClientByConsole { static int port = 0; static String host = ""; public ChatClientByConsole(String host,int port) { this.port = port; this.host = host; } public static void main(String[] args) { new ChatClientByConsole("127.0.0.1",10001); Socket sock = null;; PrintWriter pw=null; BufferedReader br=null; B..
자바/채팅방
2010. 10. 24. 18:27