mirror of
https://github.com/golang/go
synced 2024-11-11 20:50:23 -07:00
parent
345f9c9eb2
commit
bebd22f8e0
@ -8,7 +8,6 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net"
|
||||
)
|
||||
|
||||
@ -18,8 +17,10 @@ func main() {
|
||||
go func() {
|
||||
for {
|
||||
var conn, _ = listen.Accept()
|
||||
_ = conn
|
||||
}
|
||||
}()
|
||||
|
||||
var conn, _ = net.Dial("tcp", "", listen.Addr().String())
|
||||
_ = conn
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user