135

Go语言net包需要注意的若干问题 | qzwlecr's Blog

 6 years ago
source link: https://qzwlecr.github.io/2017/10/31/Go%E8%AF%AD%E8%A8%80net%E5%8C%85%E9%9C%80%E8%A6%81%E6%B3%A8%E6%84%8F%E7%9A%84%E8%8B%A5%E5%B9%B2%E9%97%AE%E9%A2%98/?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
暑假开始和朋友一起实现了一套代理服务器和客户端,支持用户自定义加密细节。服务器由Go写成,客户端由C++写成,用户自定义模块为C语言的动态链接库。 最近加入了一些新功能,对代码进行了重构,在这个过程中遇到了一些使用net包进行TCP网络通信的问题,列举如下。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK