[Ecls-list] Socket/file descriptor callbacks?

Brad Beveridge brad.beveridge at gmail.com
Fri May 19 09:36:05 UTC 2006


Hi all, I think that the question I want to ask is "Does ECL support
something similar to SBCL's sb-sys:add-fd-handler, where code can be
run when data appears on a file descriptor?"

I think this is mostly used to detect incoming data on a socket and
run a handler.
My situation is this:
 - I'm using ECL embedded in Vim (http://wiki.alu.org/Vim_ECL), as
such my Lisp code is not hooked to the main loop, and I don't think I
can use threads
 - I create a socket in Lisp that expects incoming data and I want to
automatically handle that data

Any thoughts on how I can handle this with ECL?

Cheers
Brad




More information about the ecl-devel mailing list