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, 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