broken pipe

代码 // client.go package main import ( "fmt" "net" ) func main() { localAddress, _ := net.ResolveTCPAddr("tcp4", "127.0.0.1:8080") //定义一个本机IP和端口。 var tcpCon, err = net.DialTCP("tcp" »