Open dreibh opened 7 years ago
Will you implement it?
I can give it a try.
Should we really implement this? Asking because we will have to have the counterparts for all other transports, and currently one can just prepend the PPID to the message itself and it should work.
I think this can only be implemented for SCTP. So if you are trying to set this on a non-SCTP transport, it could report a non-fatal error. If you are using neat for an application especially using SCTP, it might be useful... So for example, if you are using neat to implement Diameter/TCP or Diameter/SCTP it would be useful, if in the case of Diameter/SCTP the corresponding PPID would be used.
What do you mean with 'non-fatal error'? If it is for logging an error but move on as if nothing had happened, it may lead to application issues if the receiver side try to validate it, I suppose.
Rethinking... If a different transport is chosen, the application should not be notified.
It is currently not possible to set/obtain SCTP PPID when using SCTP transport. It would be useful to have an option for setting/getting the PPID.