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

Sockets  RSS feed

 
Mindy Walker
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are sockets and what do they do? Where can I find good reference material on sockets?
 
paul wheaton
Trailboss
Posts: 22531
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A socket is something that allows your computer to treat a netowork connection like a file. IOW -- You can read and write to a socket like you read and write a file.
I have a book called "Java Network Programming" by Elliotte Rusty Harold. Pretty good, but a few things are outdated. I hoope he comes out with an updated edition.
Other than that, I rely heavily on the Chan references.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!