TCP sockets python timeout public IP adresss
bobbdeep
anudeepsm at gmail.com
Sun Mar 29 06:03:56 EDT 2015
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.
More information about the Python-list
mailing list