blob: 5058efb0bcfafbd509af116dfe69c1a5b6f7d007 [file] [log] [blame]
// +build 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)
}
io.Copy(c, c)
}
}