sctplab / usrsctp

A portable SCTP userland stack
BSD 3-Clause "New" or "Revised" License
671 stars 280 forks source link

SCTP_SEND_FAILED_EVENT with error = 0 #544

Open afshin2003 opened 3 years ago

afshin2003 commented 3 years ago

Hi Guys, In Janus Webrtc server I get SCTP_SEND_FAILED_EVENT like this: Sent message with PPID = 53, SID = 1, flags: 0x0005 due to error = 0x00000000 I could not find any description for error code 0

Appreciated for any comment.

tuexen commented 3 years ago

According to RFC 6458 the description of the field is:

   ssfe_error:  This value represents the reason why the send failed,
      and if set, will be an SCTP protocol error code as defined in
      Section 3.3.10 of [RFC4960].

So my guess is that the association is not terminated due to the reception of an ABORT chunk which includes an error cause. Maybe just due to timeout?

afshin2003 commented 3 years ago

Thanks for your reply, which timer I should change to confirm this?