摘要: 1、代码2、编译及运行1、网络编程 TCP 示例simplehttp.go 代码 1 package main 2 3 import ( 4 "net" 5 "os" 6 "io" 7 "bytes" 8 "fmt" 9 )10 11 func main()... 阅读全文
posted @ 2015-07-20 23:20 fengbohello 阅读(1069) 评论(0) 推荐(0)
摘要: 1、代码2、编译及运行1、Go语言网络编程:ICMP示例代码icmptest.go 1 package main 2 3 import ( 4 "fmt" 5 "net" 6 "os" 7 "io" 8 "bytes" 9 )10 11 func main(... 阅读全文
posted @ 2015-07-20 23:14 fengbohello 阅读(1580) 评论(1) 推荐(0)