1

How to close http url connection, when ever am hitting one url to any server, for suppose google, if google dsnt give response, my connection will be opened. so if I try for second and third time, and even after that if google doesn't give response my second and third connections are still in open state.

Now I want to close the connection, before trying for second time and in the same way, if am trying for third time second connection should close.

Any one please help on this. Thanks in advance.

Saurabh Jhunjhunwala
  • 2,832
  • 3
  • 29
  • 57

0 Answers0