server: portable option for setsockopt
authorIblis Lin <iblis@hs.ntnu.edu.tw>
Wed, 23 Nov 2016 15:02:13 +0000 (23:02 +0800)
committerAndy Green <andy@warmcat.com>
Fri, 16 Dec 2016 14:08:13 +0000 (22:08 +0800)
commit62a86ac9c94d560445215879aef5c18239add7a6
tree5e89bf18298fcb5095964520d1cbff30f30a870e
parent0fdca9f782c9daae9db31188157f395a6a9dad0b
server: portable option for setsockopt

From linux ipv6(7) manual (section `Note`):

        SOL_IP, SOL_IPV6, SOL_ICMPV6 and other SOL_* socket options are
        nonportable variants of IPPROTO_*.  See also ip(7).

Ref: http://man7.org/linux/man-pages/man7/ipv6.7.html
lib/server.c