diff --git a/client.comet b/client.comet deleted file mode 100644 index 617ebe1..0000000 --- a/client.comet +++ /dev/null @@ -1,16 +0,0 @@ -import socket -import io - -func main() -> int { - socket.Socket s = new socket.Socket(socket.Family.INET, socket.Type.STREAM, 0) - - s.connect("127.0.0.1", 2000) - s.send("hi!") - - small byte = s.readByte() - io.println("%c", byte) - - s.close() - - return 0 -} \ No newline at end of file diff --git a/server.comet b/server.comet deleted file mode 100644 index a11fe7b..0000000 --- a/server.comet +++ /dev/null @@ -1,21 +0,0 @@ -import socket -import io - -func main() -> int { - socket.Socket s = new socket.Socket(socket.Family.INET, socket.Type.STREAM, 0) - - s.bind("127.0.0.1", 2000) - - s.listen(10) - socket.Socket client = s.accept() - io.println("Connection received!") - - string response = client.read(1024) - io.println("Response: %s", response) - - client.sendByte('a') - - s.close() - - return 0 -} \ No newline at end of file diff --git a/test.py b/test.py deleted file mode 100644 index 7fe7bd0..0000000 --- a/test.py +++ /dev/null @@ -1,4 +0,0 @@ -import socket - - -socket.socket(socket.AF_INET, socket.SOCK_STREAM) \ No newline at end of file