go_study/bilibili/aceld/IM-System/README.md

26 lines
275 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# golang即时通信系统
## 0.1版本
基本server构建
编译
```sh
go build -o server main.go server.go
```
启动
```sh
./server
```
客户端验证(在另一个终端上)
```sh
nc 127.0.0.1 8888
```
效果在server端可以看到“连接建立成功"