• Post Reply Bookmark Topic Watch Topic
  • New Topic

Slow data transfer from the Socket

 
kourla reddy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We are using Socket connection to read the data from the different servers.Some times it is taking more time to read the data from the Server.We are giving max timeout as 40 sec, so after 40 sec we are getting Timeout.But when we access the same site or server the response back to the browser is very fast.
We are usinf DataInputStream and DataOutputStream of socket to read and write.I heared something about TCP_NO_DEALY if we set TCP_NO_DEALY to true on the socket is it improve the performance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!