Since the socket option is rather new, the examples wrap the setsockopt(2) calls by #ifdef IPV6 V6ONLY. Therefore, on platforms without IPV6_V6ONLY support, ...
確定! 回上一頁