Hi friends,
I got a problem. I created an application which is similar to gtalk(Xmpp protocol-text only) . i used stream connection connected through MDS. I need to listen to server continuously.I can able to send and receive data but MDS terminates the connection if server doesn't send any information continuously for 2 minutes. How to make inputStream.read() to wait contineously ?