How to use SO_LINGER to make SCTP connections end sooner after close?

Solution Verified - Updated -

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, getting EADDRINUSE 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.