AltME: R3 Protocols

Messages

Rebolek
So why does it work in HTTP example?
Also, changing the READ code to:
            read  [
                print ["Read" length? event/port/data "bytes"]
                true
            ]
does nothing. It still waits until timeout.
GrahamC
the http protocol uses two event engines .. it's complicated
Does it print any data?
Rebolek
yes, it prints instantly and then waits 10 seconds.
GrahamC
change that to . return true and not just true
you still have false at the end of your loop
Rebolek
Wow!
Oh, I see...
Thanks, Graham!
GrahamC
Or, restructure your loop the same way as I did
NP .. still waiting on text-table and text-list fixes :)
Rebolek
I know, I''m sorry...I'm spending too much time with Redis ;)
Bt with async (almost) working I guess I can move from it for some time and fix the styles :)
GrahamC
Anyway, I thought I explained this in my tutorial .. I need to look again to see what I wrote
in case it's not clear enough
Rebolek
Is there some new version? I remember there was only SYNC-WRITE.
GrahamC
No new tutorial yet .. there was an attempt to expand it .. but that has stagnated
always a problem with committee approach lol
Rebolek
Hm, the simple example works, but trying to put it in scheme does nothing yet...

Last message posted 155 weeks ago.