Right, GetHeaders(url, timeout) is a synchronous call, and it returns the headers to you. If you want the HeadersReceived event to fire, then you'll have to call GetHeaders(url) and handle the polling and timeout yourself.

-jason

On Mar 24, 2006, at 2:57 PM, Giuseppe Farese wrote:


On Mar 24, 2006, at 5:41 PM, Jerry Fritschle wrote:


This is just like the thread I just finished, that someone answered for me. You have to treat this as a function that returns a string. So...

dim s as string

s=myHTTPSocket.GetHeaders(URL,30)


....then proceed with s.

Thanks.

Well, in this case with .GetHeaders, I had to Dim s as InternetHeaders

However I still cannot get the .HeadersReceived event fired.


Do you agree with me that this is less than clear in the language reference?


Sure, not clear at all.

I'll file a bug fix on the documentation. I've filled bug documentations in the past and they got fixed,

Thanks


Giuseppe Farese

_______________________________________________
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>

_______________________________________________
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