wood burning stoves 2.0*
The moose likes Sockets and Internet Protocols and the fly likes read timeout not working after given period Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "read timeout not working after given period " Watch "read timeout not working after given period " New topic
Author

read timeout not working after given period

Ponnusamy Gov
Greenhorn

Joined: Feb 01, 2011
Posts: 17
Dear All,

I am connecting other server using URLConnection and I am having 5 seconds of connection/read timeout. But my server not throwing exception after 5 secs. Here i smy piece of code:


what is the problem in this code?

Thanks in advance,

Pons
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: read timeout not working after given period