Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Performance Comparison between Socket and URLConnection  RSS feed

 
kumaran A.E
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

can anyone comment on performance related comparison between
URLConnection and Socket connection.
 
Joe Ess
Bartender
Posts: 9428
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch.
I don't have any hard statistics to back me up, but I'd think that any performance difference between those two classes would be dwarfed by the effect of network latency.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!