Yes to all your questions.

 - Socket ports are syncable events in Racket. Just call (sync
input-port ...) to block for available data
 - The FFI makes it easy to call system functions. However, if you
want to interface to epoll/kqueue I would advise binding to libev or
libevent instead.

HTH,
N.

On Wed, Feb 9, 2011 at 12:40 AM, jenny sun
<jenny.sun.jenny....@gmail.com> wrote:
> Hi,
>
> Can Racket access to system calls like select () in unix?
> or there are there APIs that can check channel data ready or not? e.g.
> socket's data whether ready to read or write or not?
>
> Thanks,
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev
>

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Reply via email to