摘要:
go语言的tcp通信代码还是比较简单的。 服务端: listen, err := net.Listen("tcp", "0.0.0.0:8888") //tcp监听 defer listen.Close() //延时关闭listen conn, err := listen.Accept() //等待 阅读全文
posted @ 2021-09-13 14:10
yuzyong
阅读(714)
评论(0)
推荐(0)
浙公网安备 33010602011771号