pairing established connection with application

view story

http://stackoverflow.com – I am trying to create simple "watchdog" as a school project. I've started with monitoring background calls, sms. Now I want to do something with network connections. I am able to list connections, but I am not able to pair established or listening connections with application which created them. Is there any way how to do it without rooting android? Thanks (HowTos)