Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

connecting 2 systems

 
bala chidambaram
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
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
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic