How to use SO_LINGER to make SCTP connections end sooner after close?
Issue
- How to use SO_LINGER to make SCTP connections end sooner after close?
- We have a SCTP application which sends data and closes a socket, but the other end never replies. This results in the socket staying in
CLOSED
state or similar a long time, and applications cannot use the socket again, gettingEADDRINUSE
or "Address already in use". How can we avoid this?
Environment
- Red Hat Enterprise Linux
- SCTP (Streaming Control Transmission Protocol)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.