Thiago, That is the tragedy of the commons. On the client there might be other applications that want the scarce resource, and you seem to be suggesting we grab it even if we have no use for it. Or perhaps you believe 256 entries is not a scarce resource. What about 16?
John -----Original Message----- From: Macieira, Thiago Sent: Wednesday, June 24, 2015 1:21 PM To: Light, John J Cc: Carsten Bormann; iotivity-dev at lists.iotivity.org Subject: Re: [dev] Proposal for IP Adapter and request for feedback On Wednesday 24 June 2015 13:19:22 Light, John J wrote: > " it makes sense to always try these ports even if the current device > has no 6LoWPAN interfaces." > > On a server I probably agree. I doubt shortage of these sockets on a > server. > > On a client we should only ask for them if we expect to benefit. But > how do we tell? I'd be willing to take the application's word for it > (bit in flags), but I wouldn't want to do it by default. My point is that we should ask by default. If we get it, great. If we don't, no harm. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
