Which RHEL version supports the SO_REUSEPORT socket option?

Solution In Progress - Updated -

Issue

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

Environment

  • Red Hat Enterprise Linux 6

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.