RB2006r2 on Windows 2000

When using:
  Dim theHeaders As InternetHeaders
  Dim theSocket As New HTTPSocket
  Dim theURL As String = "http://www.google.pt";

  theSocket.Yield = True
  theHeaders = theSocket.GetHeaders(theURL, 3)
  MsgBox "Done"

WITH an Internet connection: If I try to run it several times
(sometimes 5 is enough) it will freeze and it does not timeout.
WITHOUT and Internet connection: It never timeouts!

When using "HTTPSocket.Get(theURL, 3)", to get a page, it works fine:
it timeouts when no connection is present or if the server does not
respond.

Can someone please try the above code (on a pushbutton) on a Windows
machine with RB2006r2 with NO INTERNET CONNECTION to see if this
problem occurs? You can also try to run it several times with an
internet connection to see if it freezes.

BTW, this problem also occurs with RB2005r4.

Thanks!
Carlos

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to