Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43ad3b5 commit 9047146Copy full SHA for 9047146
1 file changed
Doc/howto/sockets.rst
@@ -100,8 +100,8 @@ mainloop of the web server::
100
(clientsocket, address) = serversocket.accept()
101
# now do something with the clientsocket
102
# in this case, we'll pretend this is a threaded server
103
- ct = client_thread(clientsocket)
104
- ct.run()
+ ct = make_client_thread(clientsocket)
+ ct.start()
105
106
There's actually 3 general ways in which this loop could work - dispatching a
107
thread to handle ``clientsocket``, create a new process to handle
0 commit comments