le dahut wrote:
> I've read the Gordon McMillan's "Socket Programming HOWTO"
Just a few days ago, another participant in this group noted
that code in Gordon McMillan's "Socket Programming HOWTO"
does not work. He was right. The code is wrong.
Currently, one can Google up "Python socket howto",
le dahut wrote:
> I have a server that receives data from a client, detect the end of this
> data and send other data back to the client (it's to measure bandwidth).
> I think the best way is to thread a part of the server's program am I
> right ?
Others disagree on this, but in most cases, yes:
I have a server that receives data from a client, detect the end of this
data and send other data back to the client (it's to measure bandwidth).
I think the best way is to thread a part of the server's program am I
right ?
HOST = socket.gethostname()
try:
PORT = int(sys.argv[1])
print
"le dahut" wrote:
> I've read the Gordon McMillan's "Socket Programming HOWTO" and I'm
> looking for other documents that show examples on how to write a socket
> server that can answer multiple clients at the same time.
> Does someone know where I can find those documents/tutorials ?
see
ht