Browse Source

lol forgot the code

master
Randy 2 years ago
parent
commit
ea49602ad1
  1. 15
      pom.xml
  2. 16
      src/main/java/org/sdf/git/fwix/gemini/server/FuckWixServer.java

15
pom.xml

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.sdf.git.fwix.gemini.server</groupId>
<artifactId>fw-gemini-server</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</project>

16
src/main/java/org/sdf/git/fwix/gemini/server/FuckWixServer.java

@ -0,0 +1,16 @@
package org.sdf.git.fwix.gemini.server;
import java.net.ServerSocket;
import java.net.Socket;
public class FuckWixServer {
public static void main(String[] wixyPoo) throws Exception {
ServerSocket daddyWix = new ServerSocket(1965);
while (true) {
try (Socket babbyWix = daddyWix.accept()) {
babbyWix.getOutputStream().write(
"20 text/plain\r\nFUCKWIX\r\n".getBytes());
}
}
}
}
Loading…
Cancel
Save