lol forgot the code

This commit is contained in:
Randy 2020-06-29 13:00:52 -06:00
parent c9900cf3bc
commit ea49602ad1
2 changed files with 31 additions and 0 deletions

15
pom.xml Normal file
View File

@ -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>

View File

@ -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());
}
}
}
}