This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hmmm, kind depends on what "connect" means to you. Since you're in the sockets forum, you can certainly open a server socket on one machine and connect as client from the other machine. Is that the kind of thing you're after? If so, Google for "java sockets tutorial". Sun has a good one and there are plenty of others around out there. It's not too hard at all. BTW: Firewalls between the two machines may throw a wrench in the works. For example, my PC at work cannot be a server to anyone outside the company firewall without corporate approval and firewall mods.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi