blob: 37dce1ec5cb9d851443b7d485a9b5bbe7f77879e [file] [log] [blame]
// +build ignore,OMIT
package main
import (
"io"
"log"
"net"
)
const listenAddr = "localhost:4000"
func main() {
l, err := net.Listen("tcp", listenAddr)
if err != nil {
log.Fatal(err)
}
for {
c, err := l.Accept()
if err != nil {
log.Fatal(err)
}
go io.Copy(c, c)
}
}