The most probable reason is a NAT/gateway timeout caused by idleness.
If you can confirm that this is actually the cause, you'll have to
implement a keep alive mechanism (and use an alarm manager and a wake
lock).

On Jul 17, 4:17 pm, zeeshan <genx...@gmail.com> wrote:
> Hi Dear,
>
> i got this (java.net.SocketException: Connection reset ) exception on
> server program when i try to read inputStream sent by client.
>
> BufferedReader.readLine();
>
> is anybody know what can be the reason for this exception?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to