https://github.com/libi/php-term-chat
纯php实现的终端聊天室
https://github.com/libi/php-term-chat
Last synced: 8 months ago
JSON representation
纯php实现的终端聊天室
- Host: GitHub
- URL: https://github.com/libi/php-term-chat
- Owner: libi
- Created: 2019-05-10T03:43:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-10T03:52:22.000Z (about 7 years ago)
- Last Synced: 2024-12-26T08:42:53.580Z (over 1 year ago)
- Language: PHP
- Size: 186 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## 纯PHP实现的终端聊天室
#### 截图

#### 说明
- 使用select模型实现。
- 支持群聊和私聊
- 纯试验项目,没有考虑各种异常边界问题
#### 使用方法
1. 启动:``` php chat.php```
2. 终端使用 nc 或者 telnet 连接,默认端口8889 ``` nc 127.0.0.1 8889 ```
3. 输入昵称即可登录
4. 默认群聊,私聊使用 @昵称[空格]