25 lines
786 B
Java
25 lines
786 B
Java
package org.sdf.git.fwix.gemini.server;
|
|
|
|
import java.io.IOException;
|
|
import java.net.ServerSocket;
|
|
import java.net.Socket;
|
|
import java.util.concurrent.Executor;
|
|
import java.util.concurrent.Executors;
|
|
|
|
public class FuckWixServer {
|
|
public static void main(String[] wixyPoo) throws Exception {
|
|
ServerSocket daddyWix = new ServerSocket(1965);
|
|
Executor kiddiePool = Executors.newFixedThreadPool(69);
|
|
while (true) {
|
|
Socket babbyWix = daddyWix.accept();
|
|
kiddiePool.execute(() -> {
|
|
try {
|
|
babbyWix.getOutputStream().write(
|
|
"20 text/plain\r\nFUCKWIX\r\n".getBytes());
|
|
babbyWix.close();
|
|
} catch (IOException e) { }
|
|
});
|
|
}
|
|
}
|
|
}
|