• Post Reply Bookmark Topic Watch Topic
  • New Topic

URL / URLConnections and setting timeouts

 
Brian Martin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am doing an application which requires a client
application to update itself by grabbing patches from
a remote webserver. I understand that when using sockets you can set the timeout period in which a read or write operation will stall and return control to the main application (non-blocking I/O).
My question is with respect to the URL class and whether or not it is a blocking or non-blocking connection and whether I can control timeouts with it?
thanks,
brian
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!