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

Socket!!  RSS feed

 
Brian Smith
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks,
could please give me some real world scenario where socket programming comes into play? Also, it would be a great help if you could provide me some example of how Socket works?
thanks.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any time a Java program talks to something over the network, there are Sockets involved: RMI, Java Web Start, applets, P2P... anything.
They work by using native methods to hook into the operating system's networking libraries.

Of course, Java offers higher-level abstractions for doing this particular operation.
[ August 03, 2003: Message edited by: Ernest Friedman-Hill ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!