Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #88253
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2015-03-29 03:03 -0700 |
| References | <fcccc2e0-b554-424a-a24f-df6b86f8b3cb@googlegroups.com> |
| Message-ID | <b42210c5-e2d2-458d-a7da-fea61837b27a@googlegroups.com> (permalink) |
| Subject | Re: TCP sockets python timeout public IP adresss |
| From | bobbdeep <anudeepsm@gmail.com> |
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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
TCP sockets python timeout public IP adresss bobbydeep <anudeepsm@gmail.com> - 2015-03-29 01:57 -0700
Re: TCP sockets python timeout public IP adresss bobbdeep <anudeepsm@gmail.com> - 2015-03-29 03:03 -0700
Re: TCP sockets python timeout public IP adresss mm0fmf <none@mailinator.com> - 2015-03-29 11:14 +0100
Re: TCP sockets python timeout public IP adresss bobbdeep <anudeepsm@gmail.com> - 2015-03-29 04:20 -0700
Re: TCP sockets python timeout public IP adresss mm0fmf <none@mailinator.com> - 2015-03-29 21:01 +0100
Re: TCP sockets python timeout public IP adresss Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-03-29 18:51 -0400
Re: TCP sockets python timeout public IP adresss bobbdeep <anudeepsm@gmail.com> - 2015-03-30 01:42 -0700
Re: TCP sockets python timeout public IP adresss lucasfneves14 <lucasfneves14@gmail.com> - 2015-10-16 04:44 -0500
Re: TCP sockets python timeout public IP adresss Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-10-16 22:32 +0100
Re: TCP sockets python timeout public IP adresss Grant Edwards <invalid@invalid.invalid> - 2015-10-16 21:45 +0000
Re: TCP sockets python timeout public IP adresss Random832 <random832@fastmail.com> - 2015-10-16 18:57 -0400
Re: TCP sockets python timeout public IP adresss sohcahtoa82@gmail.com - 2015-10-16 17:49 -0700
csiph-web