neat icon indicating copy to clipboard operation
neat copied to clipboard

Feature request: support for setting/obtaining SCTP PPID

Open dreibh opened this issue 7 years ago • 6 comments

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.

dreibh avatar Jul 15 '17 15:07 dreibh

Will you implement it?

weinrank avatar Jul 19 '17 11:07 weinrank

I can give it a try.

marceloleitner avatar Dec 01 '17 14:12 marceloleitner

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.

marceloleitner avatar Mar 18 '18 21:03 marceloleitner

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.

tuexen avatar Mar 18 '18 21:03 tuexen

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.

marceloleitner avatar Mar 18 '18 22:03 marceloleitner

Rethinking... If a different transport is chosen, the application should not be notified.

tuexen avatar Mar 19 '18 00:03 tuexen