Click here to Skip to main content
15,887,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

The SCTP association has been established between the 2 nodes. Node 1 has been able to send SCTP data to Node 2. But while Node 2 tries to respond to Node 1 data sctp_send() fails with error code EINVAL. But SCTP HEARTBEAT and HEARTBEAT ACK is getting exchanged between the nodes. Please tell me how to debug SCTP Data transmission error.

retVal = sctp_send(iActualSocFD,&event->data[sz],(size_t)event->len,(struct sctp_sndrcvinfo *) &sinfo,MSG_NOSIGNAL); if (retVal == -1) { LOG4CPLUS_FATAL(log,"Unknown Error"<<errno<<"SD"<<iActualSocFD) }


Its the same piece of product code which was working (sctp_send() successful) when it was compiled on RHEL 6 but now failing after upgrading to RHEL 7.6 .The network entity to whom the sctp packet is being sent is on RHEL 6 platform.Whether this is creating any issue ?I suppose backward compatibility should be supported.

Thanks,

What I have tried:

SCTP communication between 2 nodes.One of the nodes is compiled on RHEL 6 and the other node compiled on RHEL 7.
Posted
Updated 18-Mar-19 8:59am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900