How do you "get all the current peer address parameter values" without
setting it? The draft says that you "should" use sctp_opt_info which
'sets' and 'gets'. Does this mean that you can use getsockopt() as well?
If so, I did not see that statement in the draft.
Even if this is the case, it seems that this API is
inconsistent with the other structures where zero means
"don't change". Also, it is very inconvenient to get a value just
so we can then set it to the same value.
IMHO, zero should mean "don't change". UINT32_MAX could mean
disable heartbeats. (Or ~49 days, which is affectively
disabled.) How about adding a boolean parameter "spp_send_hb"?
zero would mean don't send a HB; nonzero would mean send it.
That would leave spp_hbinterval to behave like the other parameters.
-- David Lehmann Ulticom, Inc. AOL/Yahoo IM: davidULCM 1020 Briggs Road 1-856-787-2729 Mt. Laurel, NJ 08054 USAReceived on Tue Feb 15 09:50:49 2005
This archive was generated by hypermail 2.1.8 : Mon Mar 13 2006 - 15:22:24 EST