开发者

android: java.net.SocketException: Broken pipe LG

开发者 https://www.devze.com 2023-03-03 13:44 出处:网络
I\'m developing an application for Android 2.2 and LG Black devices. When I run the application on my LG device I get the following SocketException, which is never happen on other devices!

I'm developing an application for Android 2.2 and LG Black devices. When I run the application on my LG device I get the following SocketException, which is never happen on other devices!

Broken pipe
  java.net开发者_如何学C.SocketException: Broken pipe
  at org.apache.harmony.luni.platform.OSNetworkSystem.writeSocketImpl(Native Method)
  at org.apache.harmony.luni.platform.OSNetworkSystem.write(OSNetworkSystem.java:723)
  at org.apache.harmony.luni.net.PlainSocketImpl.write(PlainSocketImpl.java:578)
  at org.apache.harmony.luni.net.SocketOutputStream.write(SocketOutputStream.java:59)

How It can be solved? Thanks.


your side-A the other end-B

when A getting data from B,B closed->SocketException: Broken pipe

0

精彩评论

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

关注公众号