First off, this should probably be in the Computer Science or Technology forum, not homework (unless this is a homework problem, in which case you should show your attempt at a solution). A mod will probably be by to move this to one of those forums.
Next off, do you have a modem? Are you actually dialing out? More importantly, which operating system are you actually using? Are you attempting to do windows file sharing? Set up TCP/IP?
If the two computers are already networked, either through the internet, or through a local network, and they have IP addresses, it might be a whole lot easier to connect through this medium instead.