> zayatzz (z) wrote:
>z> Im trying to get aquinted to python on bit more basic level and am
>z> following socket and threading programming tutorials from these 2
>z> addresses :
>z> http://heather.cs.ucdavis.edu/~matloff/Python/PyNet.pdf
>z> http://heather.cs.ucdavis.edu/~matloff/Python/PyTh
En Sun, 12 Jul 2009 16:16:29 -0300, zayatzz
escribió:
while 1:
k = self.myclntsock.recv(1)
if k == "": break
srvr.vlock.acquire()
srvr.v += k
srvr.vlock.releas
Im trying to get aquinted to python on bit more basic level and am
following socket and threading programming tutorials from these 2
addresses :
http://heather.cs.ucdavis.edu/~matloff/Python/PyNet.pdf
http://heather.cs.ucdavis.edu/~matloff/Python/PyThreads.pdf
in this PyThreads file he sets up th
I have two python "applications" (more like scripts, they're only
about 80 lines each) that are dumbed down http-servers: They accept a
connection, reads everything in the socket untill "\r\n\r\n" and then
responds with "HTTP/1.1 200 OK\r\n\r\nHello World!" and then closes
the connection.
There is