From: Arnaldo Carvalho de Melo <acme@redhat.com>
To: dccp@vger.kernel.org
Subject: Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM
Date: Tue, 13 May 2008 17:34:54 +0000 [thread overview]
Message-ID: <20080513173454.GH15306@ghostprotocols.net> (raw)
In-Reply-To: <20080513072853.GB4514@gerrit.erg.abdn.ac.uk>
Em Tue, May 13, 2008 at 08:06:34PM +0300, Rémi Denis-Courmont escreveu:
> Le Tuesday 13 May 2008 19:59:35 David Stevens, vous avez écrit :
> > Well, SOCK_STREAM/IPPROTO_DCCP then. :-) But it isn't really that
> > either, as Remi said.
> > If you do a connect() on a UDP socket, it doesn't cease to
> > be a SOCK_DGRAM socket, so I don't really care about that distinction,
> > but if others do, that's ok with me. There are ACKs here, too, so maybe.
>
> But connect() is a _non-blocking_ operation which merely sets the _default_
> destination (you can still sendto() someone else).
>
> Using socket types blindly may also break applications using
> getsockopt(SO_TYPE), if they exists (I think I wrote one once...) to
> determine how to use a socket.
>
> SOCK_DCCP was perhaps a bad idea, but SOCK_DGRAM seems worse. In the end, it's
> more a matter of patching libc getaddrinfo than changing the kernel API
> anyway. Did AIX not have a similar socket type as DCCP under a more generic
> name by the way?
/me feels Deja Vu :-)
Lemme dig the URL for the discussion where SOCK_DCCP was discussed and
AIX was summoned, etc :-)
- Arnaldo
WARNING: multiple messages have this Message-ID (diff)
From: Arnaldo Carvalho de Melo <acme@redhat.com>
To: "Rémi Denis-Courmont" <rdenis@simphalempin.com>
Cc: David Stevens <dlstevens@us.ibm.com>,
David Miller <davem@davemloft.net>,
dccp@vger.kernel.org, Gerrit Renker <gerrit@erg.abdn.ac.uk>,
netdev@vger.kernel.org
Subject: Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM
Date: Tue, 13 May 2008 14:34:54 -0300 [thread overview]
Message-ID: <20080513173454.GH15306@ghostprotocols.net> (raw)
In-Reply-To: <200805132006.35010.rdenis@simphalempin.com>
Em Tue, May 13, 2008 at 08:06:34PM +0300, Rémi Denis-Courmont escreveu:
> Le Tuesday 13 May 2008 19:59:35 David Stevens, vous avez écrit :
> > Well, SOCK_STREAM/IPPROTO_DCCP then. :-) But it isn't really that
> > either, as Remi said.
> > If you do a connect() on a UDP socket, it doesn't cease to
> > be a SOCK_DGRAM socket, so I don't really care about that distinction,
> > but if others do, that's ok with me. There are ACKs here, too, so maybe.
>
> But connect() is a _non-blocking_ operation which merely sets the _default_
> destination (you can still sendto() someone else).
>
> Using socket types blindly may also break applications using
> getsockopt(SO_TYPE), if they exists (I think I wrote one once...) to
> determine how to use a socket.
>
> SOCK_DCCP was perhaps a bad idea, but SOCK_DGRAM seems worse. In the end, it's
> more a matter of patching libc getaddrinfo than changing the kernel API
> anyway. Did AIX not have a similar socket type as DCCP under a more generic
> name by the way?
/me feels Deja Vu :-)
Lemme dig the URL for the discussion where SOCK_DCCP was discussed and
AIX was summoned, etc :-)
- Arnaldo
next prev parent reply other threads:[~2008-05-13 17:34 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-13 7:28 [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM Gerrit Renker
2008-05-13 7:28 ` Gerrit Renker
2008-05-13 7:39 ` David Miller
2008-05-13 7:39 ` David Miller
2008-05-13 9:37 ` Gerrit Renker
2008-05-13 9:37 ` Gerrit Renker
2008-05-13 13:46 ` Gerrit Renker
2008-05-13 13:46 ` Gerrit Renker
2008-05-13 15:50 ` David Stevens
2008-05-13 15:50 ` David Stevens
2008-05-13 16:23 ` Arnaldo Carvalho de Melo
2008-05-13 16:23 ` Arnaldo Carvalho de Melo
2008-05-13 16:59 ` David Stevens
2008-05-13 16:59 ` David Stevens
2008-05-13 17:03 ` Gerrit Renker
2008-05-13 17:03 ` Gerrit Renker
2008-05-13 17:06 ` Rémi Denis-Courmont
2008-05-13 17:06 ` Rémi Denis-Courmont
2008-05-13 17:33 ` Arnaldo Carvalho de Melo
2008-05-13 17:33 ` Arnaldo Carvalho de Melo
2008-05-13 17:34 ` Arnaldo Carvalho de Melo [this message]
2008-05-13 17:34 ` Arnaldo Carvalho de Melo
2008-05-13 17:37 ` Rémi Denis-Courmont
2008-05-13 17:37 ` Rémi Denis-Courmont
2008-05-13 17:50 ` Arnaldo Carvalho de Melo
2008-05-13 17:50 ` Arnaldo Carvalho de Melo
2008-05-13 17:53 ` Arnaldo Carvalho de Melo
2008-05-13 17:53 ` Arnaldo Carvalho de Melo
2008-05-13 19:14 ` Ulrich Drepper
2008-05-13 19:14 ` Ulrich Drepper
2008-05-13 22:34 ` David Miller
2008-05-13 22:34 ` David Miller
2008-05-14 8:09 ` Gerrit Renker
2008-05-14 8:09 ` Gerrit Renker
2008-05-14 14:06 ` Ulrich Drepper
2008-05-14 14:06 ` Ulrich Drepper
2008-05-14 14:45 ` Gerrit Renker
2008-05-14 14:45 ` Gerrit Renker
2008-05-14 16:06 ` Ulrich Drepper
2008-05-14 16:06 ` Ulrich Drepper
2008-05-14 17:22 ` Gerrit Renker
2008-05-14 17:22 ` Gerrit Renker
2008-05-14 17:39 ` Sridhar Samudrala
2008-05-14 17:39 ` Sridhar Samudrala
2008-05-14 17:43 ` Ulrich Drepper
2008-05-14 17:43 ` Ulrich Drepper
2008-05-14 17:47 ` Rémi Denis-Courmont
2008-05-14 17:47 ` Rémi Denis-Courmont
2008-05-14 17:49 ` Rémi Denis-Courmont
2008-05-14 17:49 ` Rémi Denis-Courmont
2008-05-14 17:57 ` Ulrich Drepper
2008-05-14 17:57 ` Ulrich Drepper
2008-05-14 18:00 ` Gerrit Renker
2008-05-14 18:00 ` Gerrit Renker
2008-05-14 18:06 ` Ulrich Drepper
2008-05-14 18:06 ` Ulrich Drepper
2008-05-14 18:07 ` Ulrich Drepper
2008-05-14 18:07 ` Ulrich Drepper
-- strict thread matches above, loose matches on Subject: below --
2008-05-13 12:53 [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SO Remi Denis-Courmont
2008-05-13 12:53 ` [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM Remi Denis-Courmont
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=20080513173454.GH15306@ghostprotocols.net \
--to=acme@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.