Can some one suggest a good example for socket server which can handle multiple connections with threading from python. (Live connection (like server-client ping-pong) that will handle from threads)
Asked
Active
Viewed 1,053 times
-1
-
http://stackoverflow.com/questions/10810249/python-socket-multiple-clients looks relevant – doctorlove Aug 19 '16 at 12:14
-
Need a live connection.That will handle from threads. – chinthakaS Aug 19 '16 at 12:20
1 Answers
1
Using the SocketServer
module you can create a server that handles multiple connections. Using Asynchronous mixins you can start new threads for each connection. There is a very good example in the Python documentation above.

Dartmouth
- 1,069
- 2
- 15
- 22