On Apr 7, 2006, at 2:31 PM, Jason Essington wrote:
Works for me!
<snip>
On Apr 7, 2006, at 2:25 AM, Guyren Howe wrote:
I create a HTTPSocket subclass, I ask it to get an address,
it works fine.
I change its super to HTTPSecureSocket, I add the following
constructor:
Me.Secure = False
Super.Constructor
and I ask it to get the same address, it eventually fails
with a 103 error (which the TCPSocket docs say is a DNS
failure).
I can't find a bug report on this. Anyone have any advice?
Oh, and this is 2K6r1 on OS X.
This is super-simple to reproduce:
Create new project. Add class. Set its super to HTTPSecureSocket.
Give it a DoIt Method:
Me.Get "http://foo.com".
Give it a PageReceived handler:
MsgBox "Works"
Give it a Error handler:
break
In App.Open, do:
Dim x As New Class1
x.DoIt
Run. After five seconds or so, you'll get dropped into the Error
handler, showing a 103 error.
Now, change the Super of Class1 to HTTPSocket, and run again.
Success!
This gets weirder. Success or failure appears to depend on which
website you're trying to fetch. www.google.com works.
relevantlogic.com doesn't.
Guyren G Howe
guyren-at-relevantlogic.com
http://relevantlogic.com
REALbasic, PHP, Python programming
PostgreSQL, MySQL database design and consulting
Technical writing and training
_______________________________________________
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>