x/mobile: net.DialUDP doesn't work on Android #13313
Closed
Labels
Comments
You're ignoring the error value. Look at the error to see the reason. For future questions, see https://golang.org/wiki/Questions |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For example, I have:
Conn, _ := net.DialUDP("udp", LocalAddr, ServerAddr)
Then any action on Conn will crash the app, e.g. Conn.Close()
I tested this on Samsung Galaxy S3 with Android 4.1.1 and Note 5 with Android 5.1.1. Only native Go is used.
The text was updated successfully, but these errors were encountered: