[racket] Read timeouts on tcp ports?...

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Thu May 31 10:40:18 EDT 2012

Does this deserve an entry in our Wiki on code nuggets whose name escapes me once again? -- Matthias

On May 31, 2012, at 7:55 AM, Neil Van Dyke wrote:

> I would use "sync/timeout" or "sync/timeout/enable-break", like Sam said.  I don't recall using "read-bytes-evt", but I am fond of "read-bytes-avail!" in conjunction with "sync/timeout"*.  Would be interesting to see how efficiently one could handle a particular I/O profile using "read-bytes-avail!", "read-bytes!-evt", and "read-bytes-evt".
> Neil V.
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users

Posted on the users mailing list.