[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scsh in PLT Scheme?

At Tue, 26 Mar 2002 19:30:08 -0500, "Neil W. Van Dyke" wrote:
>   1. Ability to bind a socket to a specific address.

This is on my near-term list.

>   2. Block I/O, for low-level efficiency when doing things like
>      shuffling blocks of bytes verbatim between ports.  In Guile, these
>      are "read-string!/partial" and "write-string!/partial".

`read-string', `read-string-avail!', and `write-string/avail'.

>   3. Ability to make socket I/O be non-blocking.  In Guile, this is:
>      (fcntl port F_SETFL (logior O_NONBLOCK (fcntl port F_GETFL)))

`read-string-avail!' and `write-string/avail' support non-blocking I/O

>   4. Posix "select" or similar.

`object-wait'. It doesn't support output ports at the moment, but it
will within a couple of weeks (if a re-write of Windows I/O goes as