Hi,
Any particular reason why the SCTP_SENDER_DRY_EVENT sctp socket event (notification) is not supported by gen_sctp on Linux?
Linux supports this event notification. See for example “/usr/include/linux/sctp.h” on a recent Linux distribution:
/*
* 6.1.9. SCTP_SENDER_DRY_EVENT
*
* When the SCTP stack has no more user data to send or retransmit, this
* notification is given to the user. Also, at the time when a user app
* subscribes to this event, if there is no data to be sent or
* retransmit, the stack will immediately send up this notification.
*/
struct sctp_sender_dry_event {
__u16 sender_dry_type;
__u16 sender_dry_flags;
__u32 sender_dry_length;
sctp_assoc_t sender_dry_assoc_id;
};
Thanks a lot,
Cristian