Which RHEL version supports the SO_REUSEPORT socket option?

Solution In Progress - Updated -


Can you please let me know in which RHEL version the SO_REUSEPORT socket option has been implemented?
We are able to compile our code with it but fails at runtime:

setsockopt(sock,SOL_SOCKET,SO_REUSEPORT,&optval,sizeof(optval) );

The error is:

foo.c(413): error: identifier "SO_REUSEPORT" is undefined


  • Red Hat Enterprise Linux 6

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