The example above in the pythonsocket multi-user chat room is written in python, using multithreading and socket. Is there any source code for PHP? Or both technologies have source code for other examples. Thank you! Python socket multi-user chat room
The example in the above link is written in python and uses multithreading and socket. Is there any source code for PHP?
Or both technologies have source code for other examples.
Thank you!
Reply content:
Python socket multi-user chat room
The example in the above link is written in python and uses multithreading and socket. Is there any source code for PHP?
Or both technologies have source code for other examples.
Thank you!
Zhang banquet blog written: http://blog.s135.com/pthreads/
Add another: http://www.swoole.com/
Swoole is undoubtedly used. Pthread Is Just a Thread library, so far it is not stable enough, and there are often segment errors.
Swoole extensions are specifically used to develop TCP and UDP servers.