>
>On 3/22/01 11:46 PM, andu wrote:
>
><snipped>
>
>> One wonders why bother writing standards...
>
>If "load url" doesn't pause... I've this on the Mac and NT4. Haven't tested
>it on Linux.
>
>> Anyway, I also noticed that replies without content length close the
>> connection right away
>> (no keep-alive) so I use the "socketClosed()" message to stop reading and spit
>> out the data. 
>
>I don't find this message in MetaCard help... 

The more interesting ones are kept secret;-)

>so all we need is to trap the
>socketClose to wrap up the session?

Yes, something like:
on socketClosed x
#if x is the one in case do stuff with the data you have received
end socketClosed

>
>> You'll also notice that errors behave the same with some servers.
>
>You are referring to socketError?

No I was referring to server error messages like 404 or 401. Most servers send back
some error message in html and close the socket.

>
>Regards,
>LiangTyan Fui
>
>> Regards, Andu 
>> _______________________
>> [EMAIL PROTECTED]
>> 
>> Archives: http://www.mail-archive.com/[email protected]/
>> Info: http://www.xworlds.com/metacard/mailinglist.htm
>> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>> 
>> 
>
>
>Archives: http://www.mail-archive.com/[email protected]/
>Info: http://www.xworlds.com/metacard/mailinglist.htm
>Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>
>.


Regards, Andu 
_______________________
[EMAIL PROTECTED]

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to