Hi Will,

about the crash with not found address: they are not supported.
The async:// protocol is simply "unfinished" as is stated in the Rebol header.

Must be changed the protocol to make it work.

Here it is a VERY FAST patch, to be tested:

    on-resolve: func [dnsport port] [
        either port/host: scopy dnsport [
         change wait-find dnsport port
         sclose dnsport
         port/awake port
         false
     ] [
      wait-stop dnsport
      sclose dnsport
      port/user-data/awake port make error! "Host not found"
      true
     ]
    ]

In Async code I added 3 functions also for users:

    wait-start
    wait-stop
    wait-find

to handle insert/remove/find of ports in system/ports/ wait-list.

perhaps i should call them

    wait-insert
    wait-remove
    wait-find

?
---
Ciao
Romano

----- Original Message ----- 
From: "Will Arp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 8:21 AM
Subject: [REBOL] Re: /core async example


>
> Romano, Gabriele and Ammon,
>
> thank you for the feedback!
>
> I've done 2 variations of the original
> and put some comments.
>
> You can find them here:
> http://reboot.ch/space/get-fast
>
> Will
>
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
>

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to