New submission from Phillip :
Very small, but,
https://docs.python.org/2/howto/sockets.html
https://docs.python.org/3/howto/sockets.html
have :
while True:
# accept connections from outside
(clientsocket, address) = serversocket.accept()
# now do something with the clientsocket
# in this case, we'll pretend this is a threaded server
ct = client_thread(clientsocket)
ct.run()
and for some reason I really want it to be ct.start()
----------
assignee: docs@python
components: Documentation
messages: 303831
nosy: apoplexy, docs@python
priority: normal
severity: normal
status: open
title: Socket documentation threading misstep?
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8
_______________________________________
Python tracker
https://bugs.python.org/issue31717
_______________________________________