OS X, to see what processes and apps are using the Internet connection, paste this in the Terminal:

lsof -P -i -n | cut -f 1 -d ” ” | uniq

from http://www.maccentral.com/