[racket] scheme_call_enable_break
Laurent <laurent.orseau at gmail.com> writes:
> In particular, I'd like to use it with shawnpresser's unix domain socket package [2] and its `accept' function, but I'm not sure how to make one work with the other.
Writing more about how to deal with the unix domain socket blocking,
this is how I do it: I make an input port from the socket using
`scheme_make_fd_input_port' and I use `sync' with this input-port to
accept connections. When `sync' returns I know there is something
waiting to be accepted.