import socket
s = socket.socket()
host = socket.gethostname()
port = 12345
s.bind((host, port))
s.listen(5)
c, addr = s.accept()
print ('Got Connection from ', addr)
    
while True:
    s = c.recv(1024)
    c.send(bytes('3', 'utf-8'))
