diff --git a/VM/mainwindow.py b/VM/mainwindow.py new file mode 100644 index 0000000..a73c421 --- /dev/null +++ b/VM/mainwindow.py @@ -0,0 +1,11 @@ +import socket +s = socket.socket() +host = socket.gethostname() +port = 8020 +s.bind((host, port)) +s.listen(5) +while True: + client, addr = s.accept() + print(addr) + client.send("A".encode("utf-8")) + client.close() \ No newline at end of file