Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is socket programming "dead" ?  RSS feed

 
Rahul Sudip Bose
Ranch Hand
Posts: 637
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some one told me that socket programming is hardly used these days ? Is that true ?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on what that person meant by "socket programming". It's quite possible to develop highly networked and distributed applications without ever using Java's Socket and ServerSocket classes directly - because the server software (like Apache httpd, Tomcat and GlassFish) as well as the client software (like JDBC drivers, Apache Commons Net and HttpClient libraries, and Java's HttpUrlConnection class) do all that for you. But underneath they all use sockets.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applications like games may make a lot of use of DatagramSockets because occasional dropped datagrams are less important than raw speed.

Bill
 
Sergey Baranov
Greenhorn
Posts: 18
C++ Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not hard at all.
Sockets programming is quite simple if you don't need in high speed or something like that but of course it also depends on what you need to transfer over sockets (in other words - it depends on complexity of problem to be solved).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!