locked
Connection timeout & general timeout RRS feed

  • Question

  • I am trying to set the timeout property.  If i give the value as 20, does it mean, it will wait for 20 seconds to connect.  If the connection dosen't take place within 20 sec.  it will error out?.
    NSG12
    Tuesday, July 28, 2009 4:31 PM

Answers

  • No,
    Then it will depend on the server to which the connection is being made.
    That server would also have some time out set. if that is met the connection will fail.
    Hope this helps !! - Sudeep | Please mark the post(s) as “Answered” that answers your query.
    • Marked as answer by Bob Bojanic Monday, August 3, 2009 5:29 PM
    Tuesday, July 28, 2009 4:44 PM

All replies

  • Yes.
    Hope this helps !! - Sudeep | Please mark the post(s) as “Answered” that answers your query.
    Tuesday, July 28, 2009 4:36 PM
  • what if i change the value to 0.  Will it be waiting for indefinite period of time?.
    NSG12
    Tuesday, July 28, 2009 4:38 PM
  • No,
    Then it will depend on the server to which the connection is being made.
    That server would also have some time out set. if that is met the connection will fail.
    Hope this helps !! - Sudeep | Please mark the post(s) as “Answered” that answers your query.
    • Marked as answer by Bob Bojanic Monday, August 3, 2009 5:29 PM
    Tuesday, July 28, 2009 4:44 PM
  • Thanks.
    NSG12
    Tuesday, July 28, 2009 4:45 PM