[REBOL] Re: /core async example
From: rotenca:telvia:it at: 5-Mar-2004 12:55
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
port/user-data/awake port make error! "Host not found"
In Async code I added 3 functions also for users:
to handle insert/remove/find of ports in system/ports/ wait-list.
perhaps i should call them