DCCP protocol discussions
 help / color / mirror / Atom feed
From: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
To: dccp@vger.kernel.org
Subject: Re: Proposed socket API change
Date: Fri, 08 Sep 2006 09:48:41 +0000	[thread overview]
Message-ID: <20060908094841.GA12047@shorty.sorbonet.org> (raw)
In-Reply-To: <200609081031.41701@strip-the-willow>

On Fri, Sep 08, 2006 at 10:31:41AM +0100, gerrit@erg.abdn.ac.uk wrote:
> Suggested Change: If user doesn't want to set a service code, that's fine,
>                   leave the service code associated with connection at 0.

I totally agree with you on this, but I have been killed when suggesting this on
dccp@itef.org.

> Justification: 
> In a forthcoming communication to SIGCOMM-06, the inventors of DCCP say that
> they were "motivated by keeping the basic API as simple as UDP's" and that
> "DCCP should provide applications with an API as simple as that of UDP".

I think the same authors killed me on this point.  I believe their motivation is
"we want service codes to be used" and that they are a useful thing.  I agree
with them, but I don't agree on "forcing the users to use service codes".  

In practice, I think the situation will end up just as you described:
programmers will say "what is a service code?" and all weird things will start
emerging by people setting random codes just to get their application working.
Indeed, question 1 of Linux's DCCP FAQ will end up being: "connect() returns
error HELP!  Did you set a SC?".  Most of the initial DCCP applications will be
test apps anyway, and I think the burden of "inventing" a service code or
assigning one should be avoided.

  reply	other threads:[~2006-09-08  9:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-08  9:31 Proposed socket API change gerrit
2006-09-08  9:48 ` Andrea Bittau [this message]
2006-09-08 10:49 ` gerrit
2006-09-08 18:08 ` Ian McDonald
2006-09-10  5:23 ` Eddie Kohler
2006-09-10  6:07 ` Eddie Kohler
2006-09-11 13:30 ` Gerrit Renker
2006-09-11 14:17 ` Gerrit Renker

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=20060908094841.GA12047@shorty.sorbonet.org \
    --to=a.bittau@cs.ucl.ac.uk \
    --cc=dccp@vger.kernel.org \
    /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