I am making a chat application in android using TCP and has immplemented Sockets. Which is working but in case of receiving or sending only the first msg is considered.
eg. client:hi
server:hi
server:hows u?
so in this case hows u? is not accessible at client / server side. In both cases instream is closed after receiving once. Can any One suggest what could be the issues or how i can solve them???
If it is not listening for server continuously, then there might be a problem with your code. Post your code.
Check if this fits your requirement.
Android chat functionality?