java - Android - client causing "Connection reset by peer" exception -
i know, whether there possibility implementation of client side, causing ioexception? far know, exception caused remote site, sending rst packet, shutting down connection. whatever answers have come far, claim server's fault.
but problem following. communicating server via tcp sockets , android app client. communication used work prefectly, after making modifications (to client side only), keep getting exception.
i having hard time pinpointing source of problem, because updates i've made had nothing communication implementation. i've added query server handle.
is possible produce exception client side(that code, cause remote side produce outcome)? perhaps overloading server requests? or maybe android closing sockets, itself? or perhaps somehow closing sockets, produce different type of exception.
any advice on matter appreciated.
as turns out, problem wasn't in client implementation afterall. server ending connection, after query had been executed. may experiencing similar issue (where think client side has error, despite obvious fact stated program, it's server's fault), suggest double check server possible timeouts , such.
Comments
Post a Comment