【Socket 通信編程】【TCP雙向通信多線程】

/* 服務器端,引入多線程 */ import java.io.*; import java.net.*; class ServerThread extends Thread { private Socket socket = null; private int no; public ServerThread (Socket socket, int no) { this.socket =
相關文章
相關標籤/搜索