try
c:\>net send 127.0.0.1
or
c:\>net send localhost
and yes it can work over the internet. Just get your friend to do a
c:\>ipconfig
He will get something like this
Ethernet Adapter Local Area Connection:
Connection-specific DNS Suffix . .:your.isp.con
IP Address . . . . . . . . .: 199.99.9.999
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 199.99.9.3
c:\>Tell him to give you the IP address. Now this will only work if they are on XP, 2000 or NT4
It must be an NTFS system or you have to install "Net Send".