minimal working version going

This commit is contained in:
2026-07-09 21:56:09 +10:00
parent 4b5d5a2130
commit 36b2e37bda
8 changed files with 325 additions and 10 deletions

16
test.comet Normal file
View File

@@ -0,0 +1,16 @@
import socket
import io
func main() -> int {
socket.Socket s = new socket.Socket(socket.Family.INET, socket.Type.STREAM, 0)
s.connect("142.250.188.46", 80)
s.send("GET / HTTP/1.1\r\nHost: google.com\r\n\r\n")
string response = s.recv(1024)
io.println("Response: %s", response)
s.close()
return 0
}