开发者

SocketException (The system call was cancelled)

I am working on a android project and I need to connect the gPhone with the PC using UDP socket. The same operation, sending a message to from gPhone to the PC, returns different results in different time: Sometimes succeeded and sometimes throws a SocketException(The system call was cancelled开发者_Go百科).

Can anyone tell me what possibly results in this SocketException?


Add this to your app's manifest:

<uses-permission android:name="android.permission.INTERNET" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜