import os
import socket


s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

target = '127.0.0.1'
port = 9999

s.connect((target, port))

s.send('Sending data.'.encode())

resp = s.recv(4096)

print(resp.decode())
