9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Steve Kilbane <steve@whitecrow.demon.co.uk>
To: 9fans@cse.psu.edu
Cc: steve@localhost.localdomain
Subject: Re: [9fans] bidirectional pipes
Date: Sat,  4 May 2002 10:14:04 +0100	[thread overview]
Message-ID: <200205040914.KAA14145@localhost.localdomain> (raw)
In-Reply-To: Message from Mike Haertel <mike@ducky.net> of "Thu, 02 May 2002 14:35:41 PDT." <200205022135.g42LZfXB014631@ducky.net>

> >While this is cool, I have to admit that I never really liked
> >bidirectional pipes, because if you want to close half of the connection,
> >you either need something like bsd's shutdown(), or a way to recover
> >your control file which hopefully will let you half-close.
>
> I'm curious?  Why does this bother you?  Just let half the connection
> go unused.

Whereas my general dislike isn't so much from the bidirectional aspect
of the pipes, as from the increase in TCP complexity which, as far as I
can tell, doesn't exist for anything other than "rsh host filter". I'd
have expected the simpler protocol would be worth the effort of just
using two streams, in that particular case. I don't care whether the
streams are bi-directional, just that one can be discarded before the other.

steve




  parent reply	other threads:[~2002-05-04  9:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-02 20:39 [9fans] getting at Windows files from VMware-hosted Plan 9 Scott Schwartz
2002-05-02 21:35 ` [9fans] bidirectional pipes Mike Haertel
2002-05-02 22:24   ` Scott Schwartz
2002-05-03 10:09   ` Boyd Roberts
2002-05-04  9:14   ` Steve Kilbane [this message]
2002-05-02 21:55 Geoff Collyer
2002-05-02 22:30 Russ Cox
2002-05-03  7:19 forsyth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200205040914.KAA14145@localhost.localdomain \
    --to=steve@whitecrow.demon.co.uk \
    --cc=9fans@cse.psu.edu \
    --cc=steve@localhost.localdomain \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).