First commit

This commit is contained in:
Leonardo Bonati
2021-12-08 20:17:46 +00:00
commit 60dffad583
2923 changed files with 463894 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import socket
if __name__ == '__main__':
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client.connect(('127.0.0.1', 7000))
msg = 'terminate'
bytes_num = client.send(msg.encode('utf-8'))
print('Socket sent ' + str(bytes_num) + ' bytes')
client.close()