Eddie,
Sorry, This might be too late to bring this up, but I have one
comment on service code. If I could have a little chance,
I would like to put this on the table and see what other people think.
In section 8.1.2 of the draft-ietf-dccp-spec-12.txt, it says:
Service Code 0 represents the absence of a meaningful Service
Code, and MUST NOT be allocated.
To comply with this, the linux implementation sets service code to -1
as the initial value and a program will get EPROTO if it doesn't
set a proper service code with setsockopt().
(see: http://linux-net.osdl.org/index.php/DCCP#FAQ)
It seems to me that this might cause a little confusion to some
application
programmers.
But, if we could have service code 0 as a wildcard service code which
indicates that the application doesn't care about the service code
and accepts
any value of service code, we don't have to set a service code if
we don't
need to use it.
Or, if we could use service code 0 as the absence of a meaningful
service and
use it as the initial value, we can get similar effect.
I think we had better avoid mandatory use of setsockopt if it's
possible and
a wildcard service code may be uselful in some situations.
Thanks,
--
Yoshifumi Nishida
nishida at csl.sony.co.jp
Sony Computer Science Laboratories, Inc.