06-28-2006 05:35 AM
06-28-2006 07:14 AM
Yes, a cross-over cable is sufficient. You will have to set up the TCP/IP connection on each side so that each machine has a fixed (different) address on the same subnet (e.g. addresses 192.168.0.1 and 192.168.0.2 with a subnet mask of 255.255.255.0).
Then all you have to do is start the datasocket server on one of the machines.
06-28-2006 07:26 AM
Connecting two computers directly together through ethernet can be done with a crossover cable as you suggest. You are basically creating your own local network.
You can also connect them through a hub, switch or router all of which will allow connecting more than two computers to your own little network. These range from the kind of thing you see used for home networking at your local store (netgear, linksys, dlink) well under $100 to the fancy stuff from cisco. With these you just use a standard (non-crossover) cable.
A hub/switch just provide a way to connect to multiple computers. A router is a switch with added features such as a dhcp server to assign IP addresses to your computers and a way to route data out from your local network to another network (WAN).
When using the crossover cable you will need to assign a static IP address for each of your network cards. This is done under the properties settings for TCPIP. There is lots of help on the internet on how to do this. If you have anyone around who is familiar with home networking setups they should be able to walk you through it easily.
06-29-2006 08:27 AM