![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
golang
hh_1696924977_hh
这个作者很懒,什么都没留下…
展开
-
Go 语言服务器端程序与客户端程序
Go 语言服务器端程序与客户端程序 1.服务器端程序代码 package mainimport ( “fmt” “net” )func main() { listenerFD, err := net.Listen(“tcp4”, “:8082”)if err != nil { fmt.Printf("Error:%s 监听失败,端口号:%s\n", err.原创 2017-03-21 12:55:42 · 569 阅读 · 0 评论 -
Go 网络服务器端程序与客户端程序
1.服务器程序package mainimport ( "bytes" "fmt" "io" "net" "time" )const ( SERVER_NETWORK = "tcp4" SERVER_ADDRESS = ":8082" DELIMITER = '\t' )var logSn int32 = 0func prin原创 2017-03-22 13:51:09 · 419 阅读 · 0 评论