How to send value of a variable to a server?

1

What I have:

def Enviar():

    Enviar1 = self.Txt3.get()
    clientsocket = socket(AF_INET, SOCK_STREAM)
    clientsocket.connect(('localhost', 50000))
    clientsocket.send b'(Enviar1)
    
asked by anonymous 01.04.2017 / 20:36

0 answers