pmsEndTime = the milliseconds + (30 * 1000)
Then later whenever I'm checking for a completion of the operation, I check:
if the milliseconds > pmsEndTime then
-- the operation has timed out, tell the originatorend if
No timeout objects needed.
Irv
At 9:20 AM +0000 3/23/05, Jayp wrote:
Hi Irv
Thankyou for that amazing tutorial. That has answered a lot of questions. The only question i was gonna ask you which funnily enough you mentioned at the bottom of the document was how you would recommend coding a Timeout into the script. Would you use the timeout object or hard code the milliseconds.
Thanks again. Please keep up the good work. If its set up as donationware ill drop you some $$
Regards
Jon Alongi
On 22 Mar 2005, at 16:00, Irv Kalb wrote:
If you'd like to read about a general solution to using NetLingo calls, check out:
http://www.furrypants.com/loope
See chapter 14
(It describes how to build and use a NetManager that does all the operations for you. It uses it's own StepFrame handler.)
Irv
At 9:30 AM +0000 3/22/05, Jayp wrote:Hello again,
I realise its an age old topic here but i was trawling the web trying to find the best/quickest way to detect an internet connection. As much as id like to take credit for this, i read a short post somewhere about using xtranet to detect a users ipaddress. If it was set to 0.0.0.0 then there was no connection, else there was. Guess what it worked ! I managed to find the xtranet binaries and install them under Director MX on my PC. Having got to work the next day and also having just got MX2004 i have not been able to get Xtranet to install at all. Can someone help with this?
Also, with help from some of this list members and the famous chuck neal i have finally got to grips with Timeout objects.( i know, its not that hard really) however one thing i have noticed is if i perform a net operation such retrieving an item from an online database through a behavior the time taken is relatively quick. However, through my parent object that checks for the result every second, usually takes up to 14 secs to complete. Im sure somethings not right here. My net object posts to a URL, checks the status on StepFrame reporting whether the connection is inactive, executing or done and the timeout object watches this for the right to get the result.
Come on you Director Wizards!!! Help me out.
How do you install Xtranet on mx2004? why is my net operations so slow ?
As always, best regards
Jon Alongi
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
--
Multimedia Wrangler.
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
--
Multimedia Wrangler. [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
