Changed server code to the following,

from socket import *

HOST = ''
PORT = 8080
serversocket = socket(AF_INET,SOCK_STREAM)
serversocket.bind((HOST,PORT))
serversocket.listen(5)
while True:
    (clientsocket, address) = serversocket.accept()
    print ("Got client request from",address)
    clientsocket.send("Thank You for connecting")
    clientsocket.close()



Still getting same error.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to