终端TCP聊天工具Flup

Flup 是一个运行在终端中的简单聊天应用,它使用 Node.js 的 net 模块实现,可以让你快速搭建和加入聊天服务器。

使用 Flup

  1. 获取代码:
 git clone http://github.com/itsnauman/flup.git 
 cd flup 
 ``` 

2. **启动服务器:**

node index.js --server localhost:8000

```

  1. 启动客户端:

在另一个终端窗口中,使用以下命令连接到服务器:

zip 文件大小:2.86KB