Re: [nbs] (Was: Re: A suggestion for an "on-demand API".) Tue, 21 December 2010 21:06 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 267463A68A4 for <>; Tue, 21 Dec 2010 13:06:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -6.524
X-Spam-Status: No, score=-6.524 tagged_above=-999 required=5 tests=[AWL=0.075, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id Kc89RfSEi0Ob for <>; Tue, 21 Dec 2010 13:06:14 -0800 (PST)
Received: from ( []) by (Postfix) with ESMTP id 494E23A6888 for <>; Tue, 21 Dec 2010 13:06:14 -0800 (PST)
Received: from ( []) by (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBLL87d6017448 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 Dec 2010 21:08:08 GMT
Received: from ( []) by (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBLL86eA020402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Dec 2010 21:08:07 GMT
Received: from (localhost []) by (8.14.4+Sun/8.14.4) with ESMTP id oBLKwKT7024076; Tue, 21 Dec 2010 15:58:20 -0500 (EST)
Received: (from sowmini@localhost) by (8.14.4+Sun/8.14.4/Submit) id oBLKwIRu024075; Tue, 21 Dec 2010 15:58:18 -0500 (EST)
X-Authentication-Warning: sowmini set sender to using -f
Date: Tue, 21 Dec 2010 15:58:18 -0500
To: Javier Ubillos <>
Message-ID: <>
References: <> <1292401029.4804.30.camel@bit> <> <1292500103.4804.1313.camel@bit> <> <1292949711.4804.8474.camel@bit>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1292949711.4804.8474.camel@bit>
User-Agent: Mutt/1.5.14 (2007-03-31)
X-Source-IP: []
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090205.4D111737.00DD,ss=1,fgs=0
Subject: Re: [nbs] (Was: Re: A suggestion for an "on-demand API".)
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Name based sockets discussion list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 21 Dec 2010 21:06:15 -0000

On (12/21/10 17:41), Javier Ubillos wrote:
> Good question!
> I'm not sure, can one assume that UDP might not be _able_ to have a
> two-way communication?

UDP was just one example of a connectionless protocol that I suggested,
but I think the more critical thing (which is what I thought was
discussed in the meeting with Erik, perhaps he can clarify..) is that
you shouldn't (can't?) try to enforce name exchange/authentication at
the initial packet exchange, but rather let the application drive

> If so, then there would be a clear incompatibility between using UDP and
> flow-requirements on the receiving host.
> However, if that is the case, that we cannot send _any_ replies to the
> UDP stream, then:
> a. It becomes impossible to check for bi-lateral support (unless some
> other channel is used).
> b. It becomes impossible to exchange names and/or preferences.

not impossible.. in the udp example, the application that consumes
the udp packet can trigger (b) at its discretion (the actual mechanics
of how it will be done are TBD, but hopefully it would not be ULP-specific).

> Assuming that we _can_ have a bi-directional communication. The
> UDP-version could very well include some kind of feedback mechanism
> where names & preferences are sent back to the initiator.
> Is it a crazy idea to subdivide the data-gram domain into truly
> uni-directional flows and flows where we can have a bi-directional flow?