On Wed, Mar 5, 2014 at 11:38 AM, Lu, Yingqi <yingqi...@intel.com> wrote:
> 1. If I understand correctly (please correct me if not), do you suggest
> duplicating the listen socks inside the child process with SO_REUSEPROT
> enabled? Yes, I agree this would be a cleaner implementation and I actually
> tried that before. However, I encountered the "connection reset" error since
> the number of the child process is changing. I googled online and found it
> actually being discussed here at http://lwn.net/Articles/542629/.

You actually need to refer to Unix Network Programming, Vol 1 by W
Richard Stevens to have a context to ask the question.

Apologies if that comes across as harsh, but either Stevens is wrong,
or the kernel developers are wrong.  It is unlikely that both are
wrong and very likely that both are not right.  Sometimes we just have
to send kernel bugs upstream.

Reply via email to