I pretty new to networking, but when a computer is connecting to another computer for ftp or remote desktop. How does it know which computer to connect to?
I understand that you have an IP address that is generally provided through your internet service provider, but that is only from the gateway.
The reason I am asking is I am trying to write a script to get to my TiVo programs remotely without using remote desktop. I understand that you can make a request through a port. But how do you know which device that port is supposed to go to?