Issue
I don't know how to put this but here goes. My application has creating connections with the server. How can I test the application to check whether connections are getting closed and resources are released or not.
Solution
You can use
$ adb shell netstat | grep ESTABLISHED
or something similar to monitor the connections.
If you are interested in a specific server you can do
$ adb shell netstat | grep <SERVER_IP> | grep ESTABLISHED
Answered By - Diego Torres Milano
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.