ハッカー団結成
■ このスレッドは過去ログ倉庫に格納されています
private ServerSocket sSocket = null;
private Thread thread = null;
private Socket socket = null;
private DataInputStream inStream = null;
private DataOutputStream outStream = null;
private BufferedInputStream inBuffer = null;
private BufferedOutputStream outBuffer = null;
public ServerUnit() throws IOException {
//this(51000);
}
public ServerUnit(int port) throws IOException {
try {
sSocket = new ServerSocket(port);
while(true) {
socket = sSocket.accept();
Thread thread = new Thread();
thread.start();
■ このスレッドは過去ログ倉庫に格納されています