org.quietmodem.Quiet icon indicating copy to clipboard operation
org.quietmodem.Quiet copied to clipboard

[HELP] setSoTimeout throw SocketException

Open JoinBelieve opened this issue 5 years ago • 1 comments

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 avatar May 30 '19 03:05 JoinBelieve

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 = � ]

JoinBelieve avatar May 30 '19 07:05 JoinBelieve