Reputation: 2074
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.
Upvotes: 0
Views: 45
Reputation: 69228
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
Upvotes: 2