Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/mobile: net.DialUDP doesn't work on Android #13313

ghost opened this issue Nov 18, 2015 · 1 comment

x/mobile: net.DialUDP doesn't work on Android #13313

ghost opened this issue Nov 18, 2015 · 1 comment


Copy link

@ghost ghost commented Nov 18, 2015

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.

Copy link

@bradfitz bradfitz commented Nov 18, 2015

You're ignoring the error value. Look at the error to see the reason.

For future questions, see

@bradfitz bradfitz closed this Nov 18, 2015
@golang golang locked and limited conversation to collaborators Nov 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.