x/mobile: net.UDPConn.ReadFromUDP don't return error when i use net.UDPConn.Close() #25839
Labels
FrozenDueToAge
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Please answer these questions before submitting your issue. Thanks!
I'm trying to ship a golang binary inside a android app
conn, err := net.DialUDP("udp", nil, raddr)
if err != nil{
//xxxx
}
size, raddr, err1 := conn.ReadFromUDP(buffer[:])
It's working。but when i use conn.Close(),err1 don't return error,it's waiting for ReadFromUDP
iPhone is ok.
What version of Go are you using (
go version
)?go1.10.2
gomobile is last
The text was updated successfully, but these errors were encountered: