login
Header Space

 
 

Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ulrich Drepper <drepper@...>
Cc: R?mi Denis-Courmont <rdenis@...>, Arnaldo Carvalho de Melo <acme@...>, David Stevens <dlstevens@...>, David Miller <davem@...>, <dccp@...>, <netdev@...>
Date: Wednesday, May 14, 2008 - 4:09 am

| 
| Rémi Denis-Courmont wrote:
| > In any case, getaddrinfo() should be patched to
| > [...]
| 
| What should be the behavior is socktype and protocol are zero?  Should
| these two types be returned by default?  What others?  So far we return
| TCP, UDP, and raw socket information.  I'd rather keep the list short
| but since we already have raw sockets in there (because they are in
| POSIX) I won't reject anything that's more useful than raw sockets.
| 
| - --
RFC 3493 says that 0 for socktype/protocol means that caller will accept
any socket type / protocol, so presumably this does include DCCP and UDP-Lite.

It would be just _great_ if getaddrinfo() could support Remi's cases for DCCP
(RFC 4340) and UDP-Lite (RFC 3828). So far it is only possible to get an
address by "cheating", i.e. pretending to getaddrinfo to be TCP or UDP. This
does not really work well and still causes lots of problems/broken applications.

Gerrit
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM, Gerrit Renker, (Tue May 13, 3:28 am)
Re: [RFC] [DCCP]: Deprecate , Remi Denis-Courmont, (Tue May 13, 8:53 am)
Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM, Arnaldo Carvalho de Melo, (Tue May 13, 12:23 pm)
Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM, Rémi Denis-Courmont, (Tue May 13, 1:37 pm)
Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM, Rémi Denis-Courmont, (Wed May 14, 1:47 pm)
Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM, Gerrit Renker, (Wed May 14, 4:09 am)
Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM, Sridhar Samudrala, (Wed May 14, 1:39 pm)
Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM, Rémi Denis-Courmont, (Wed May 14, 1:49 pm)
Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM, Arnaldo Carvalho de Melo, (Tue May 13, 1:50 pm)
Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM, Arnaldo Carvalho de Melo, (Tue May 13, 1:33 pm)
Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM, Rémi Denis-Courmont, (Tue May 13, 1:06 pm)
Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM, Arnaldo Carvalho de Melo, (Tue May 13, 1:34 pm)
Re: [RFC] [DCCP]: Deprecate SOCK_DCCP in favour of SOCK_DGRAM, Arnaldo Carvalho de Melo, (Tue May 13, 1:53 pm)
speck-geostationary