Multi Chat PHP - A socket-based multi-client chat written with PHP code
Open terminal
php server.php
From other terminal
telnet 127.0.0.1 4024
From yet another terminal
telnet 127.0.0.1 4024
Start typing text in your telnet sessions. Typing "quit" will cause the connection to terminate. Typing nothing for 10 seconds will cause connection to terminate.
This is a socket-based multi-client chat that echoes one user's chat to other user's chat telnet sessions.
- Multiple telnet chat sessions
- select()
- non-blocking read/write sockets
- Time out inactive sockets
This multi chat derives from code written for a job application to Namco Bandai. The code is different because it was programmed at a different time in Lambert's life.
Lambert Lum
This software is copyright (c) 2018 by Lambert Lum
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.