You can of course use NetBIOS names (the computer name in most cases). Bert-PC or Sandeep-PC on a P2P network rather than the IP Address. May or may not work though. IP Address will always work. I've noticed on a domains it almost always works to use the FQDN. While on P2P, it works 50% of the time, especially when your are mixing Operating Systems.