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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content