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

[HELP] setSoTimeout throw SocketException #29

Open
JoinBelieve opened this issue May 30, 2019 · 1 comment
Open

[HELP] setSoTimeout throw SocketException #29

JoinBelieve opened this issue May 30, 2019 · 1 comment

Comments

@JoinBelieve
Copy link

java.lang.RuntimeException:Unable to start activity ComponentInfo{com.example.asus.mytrain/com.example.mytrain.kotlin.ui.UdpTransmitActivity}: java.lang.RuntimeException: java.net.SocketException: failed set socket option

I download QuietShare sample , that no found TCP mode .

@JoinBelieve
Copy link
Author

I remove setSoTimeOut , it working . but have a new problem agin.

sRecv = new DatagramSocket(new InetSocketAddress("169.254.255.255", 3334))

Q1 : I change hostname . it not working.
Q2 : recveive data have garbled code .

such as [ text = � ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant