% netstat -f inet -n | grep '.548 ' | awk '{ print $5 }' \
| sed 's/\.[^.]*$//'I saw this while on the IRC channel (and server) for the MacFora web boards, I believe it was a person by the nickname "ian" that provided the script for the nice result. Someone else there mentioned they were working on an app to show the number of connections (for all types, not just filesharing) for those that don't want to use terminal.
I have only been able to test this for one connection so far.

