Andreas Leitgeb | 26 Sep 10:53
Favicon

TIP #332: Half-Close for Bidirectional Channels

Alexandre Ferrieux <alexandre.ferrieux@...> wrote:
>  TIP #332: HALF-CLOSE FOR BIDIRECTIONAL CHANNELS 
...
>  This TIP proposes to extend the *close*/*chan close* commands to let 
>  them perform an unidirectional "half-close" on bidirectional channels. 
...
>        *close* /channel/ ?*read*|*write*? 

I'd just like to know if my pledoyees for "using -options with close"
and for "settling for half-closing only *write*-sides" came just too
late, or whether it was read in time but for some reasons declined.

Is there any usecase for closing the read-side only?

And a question I also couldn't find clarified in the TIP:
  What's the result, if a socket's read-side is requested
  to be closed?  error? ignore? just marking the tcl-channel
  wrapping the socket as write-only? (in that case: what will
  happen to the data received on the socket afterwards?)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane