To go the Terminal (/Applications-->Utilities-->Terminal) and type "netstat". It will list all network connections. It's a little cryptic, but usually in the first few lines, you'll see what you want. You'll see an IP address or local machine name with ".afp" at the end. These are the people connected via AFP file sharing. Type "man netstat" to get a better understanding from the manual.