Rev's put URL vs. Director's getNetText

Ken Ray kray at sonsothunder.com
Tue Jul 13 15:42:26 EDT 2004


Do you get the same result when you open the message box and type:

 put url("http://www.google.com/")

? 

If so, do you have a firewall?

Ken

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> RGould8 at aol.com
> Sent: Tuesday, July 13, 2004 10:58 AM
> To: use-revolution at lists.runrev.com
> Subject: Rev's put URL vs. Director's getNetText
> 
> 
> I've been using Revolution to configure DSL cable modems and 
> FTTP (Fiber) 
> routers.   I'm having issues with certain modems (Westell 
> 2200 for example), 
> where a simple "put URL" command isn't retrieving the data 
> that it should.   
> Instead, in Revolution, I'm getting a:
> 
> "the result = error socket is not open"
> 
> error when performing a put URL call:
> 
> 
> global theURL
> 
> on mouseUp
>      put URL theURL into x
>      answer "the result = " & the result
>      answer "databack = " & x
> end mouseUp
> 
> "the result = error socket is not open"
> 
> 
> I then decided to do an experiment by coding up Macromedia 
> Director to do the 
> same thing:
> 
> global theNetID, theURL
> 
> on mouseUp me
>    put getNetText (theURL) into theNetID
> end
> 
> and then I go on to display the getNetText results, I get the 
> appropriate 
> data every time.
> 
> What is different between Revolution's method of retrieving 
> URL data, and 
> Director's?   More importantly, what can I do in Rev to make 
> this work?   I'm 
> using Mac OS 10.3.4.   I much prefere Revolution to doing 
> these types of apps - - 
> - I just need to figure out what's "under the hood" in Rev 
> that might be 
> causing the "error sock is not open" problem.
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 




More information about the use-livecode mailing list