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
CLOSEDstate or similar a long time, and applications cannot use the socket again, gettingEADDRINUSEor "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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
