You only have to have his IP adress to find out if he's online.
A succesfull ping means he's online. Though he might (probably?) drop ICMP packets at his firewall.