Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to communicate between client server over the internet  RSS feed

 
Chris Brat
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to communicate between a client and a server, with the server sitting on a box at another site, over the internet.
Do sockets do this? I've never done this before over the net, only between two PC's on the same LAN.
Thanks
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So long as you have a server running and you know either the DNS name or IP address and port where the service is located, it makes no difference whether the two communicating machines are on the same physical LAN or half a world away.
 
Mallick Srinivas Choppa
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Socket connection can be made to any PC on the network . But as on internet due to firewalls which actually protects the system from external hacking will prevent you to make a socket connection. so as long as firewall allows we can connect to any system.
thanks
Mallick
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!