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

发送给服务器,就断开链接,并且发送不成功 #2

Open
Vhaiyue opened this issue Mar 27, 2018 · 0 comments
Open

发送给服务器,就断开链接,并且发送不成功 #2

Vhaiyue opened this issue Mar 27, 2018 · 0 comments

Comments

@Vhaiyue
Copy link

Vhaiyue commented Mar 27, 2018

每次都能从服务器成功获取到数据,但是当发送给服务器数据的时候就会断开,显示链接异常。java.net.SocketTimeoutException
03-27 10:21:19.383 25326-25662/com.herenit.socketpushdemo W/System.err: at java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)
03-27 10:21:19.383 25326-25662/com.herenit.socketpushdemo W/System.err: at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:37)
03-27 10:21:19.383 25326-25662/com.herenit.socketpushdemo W/System.err: at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:237)
03-27 10:21:19.383 25326-25662/com.herenit.socketpushdemo W/System.err: at java.io.InputStream.read(InputStream.java:162)
03-27 10:21:19.383 25326-25662/com.herenit.socketpushdemo W/System.err: at com.herenit.socketpushdemo.core.SocketService$ReadThread.run(SocketService.java:247)

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