Hi Tim, Thanks for your email.
SO_REUSEPORT feature is enabled on Linux kernel 3.9 and newer. The feature is defined at /usr/include/asm-generic/socket.h. With the old kernel, the definition is there, but is commented out. /*#define SO_REUSEPORT 15*/ The section of code below is just to define SO_REUSEPORT if it is not already being defined. The code after this is to detect if SO_REUSEPORT is supported or not. I am using x86_64 systems with Linux. If anyone finds something different on your system, please let me know. Thanks, Yingqi -----Original Message----- From: Tim Bannister [mailto:is...@jellybaby.net] Sent: Monday, March 17, 2014 2:31 PM To: dev@httpd.apache.org Subject: Re: [PATCH ASF bugzilla# 55897] prefork_mpm patch with SO_REUSEPORT support I'm afraid I don't understand this particular part from httpd_trunk_so_reuseport.patch: #ifndef SO_REUSEPORT #define SO_REUSEPORT 15 #endif Why 15? Is this going to be portable across different platforms? -- Tim Bannister - is...@jellybaby.net