Reputation: 1
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.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.
Upvotes: 0
Views: 3616
Reputation: 1323
your side-A the other end-B
when A getting data from B,B closed->SocketException: Broken pipe
Upvotes: 6