Posted to tcl by avl at Fri Dec 04 21:16:28 GMT 2020view raw

  1. I'm having "heisen-problems" with writes to a non-blocking channel.
  2.  
  3. Most of the time it works fine, but eventually the internal write gets a "EAGAIN" back, and that write then isn't retried ever again.
  4.  
  5. In other cases before the failing one, it often gets an EAGAIN, too, but eventuelly it retries and all is good...
  6.  
  7. The application is really a data-pump, reading from one socket channel, modifying the data or passing through to another socket.
  8. One of those things that Tcl otherwise is pretty good at.
  9.