File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
 
Similar Threads
invoking a servlet from client Java code
URLConnection 422 Http Error response
Multiple posts using HttpURLConnection
help: need help for post
getting error in programatically created pdf