This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes connecting 2 systems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "connecting 2 systems" Watch "connecting 2 systems" New topic

connecting 2 systems

bala chidambaram

Joined: Jan 19, 2004
Posts: 24
i have two systems with internet connection. can i connect these two through internet by specifing 'ip address'?
suggestions are welcome
thank u.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: connecting 2 systems
Similar Threads
6666 on 6/6/6
Transaction Management in Web Services
Nio server Socket Listener?
Bulletin Board Systems
finally some subjects im not already an expert at