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