Closed p1-ra closed 4 years ago
All is in the title.
Allow to set the default values for ppid, stream, ttl. sctp_send will then use them if they are not specified as parameters.
sctp_send
It is useful for when using SCTP socket as TCP/UDP socket with a library that is not aware if its custom method sctp_send.
By overwriting its send with its sctp_send method, we could now still configure the ppid and so on.
send
ppid
adaptation
Thanks !
All is in the title.
Allow to set the default values for ppid, stream, ttl.
sctp_send
will then use them if they are not specified as parameters.It is useful for when using SCTP socket as TCP/UDP socket with a library that is not aware if its custom method
sctp_send
.By overwriting its
send
with itssctp_send
method, we could now still configure the ppid and so on.