08:40:34 | Start |
| == create an IPv6 socket == |
08:40:34 | socket(domain:AF_INET6, type:SOCK_STREAM, protocol:0)
|
08:40:34 | return sockfd=4
|
| == get the default value of IPV6_V6ONLY option == |
08:40:34 | getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_V6ONLY, optval:0x7ffe0da91c38, optlen:0x7ffe0da91c34)
|
08:40:34 | return v6only=0
|
| == set the IPV6_V6ONLY option to 1 == |
08:40:34 | setsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_V6ONLY, optval:0x7ffe0da91c38, optlen:4)
|
08:40:34 | return 0
|
| == get the value of IPV6_V6ONLY option == |
08:40:34 | getsockopt(sockfd:4, level:IPPROTO_IPV6, optname:IPV6_V6ONLY, optval:0x7ffe0da91c38, optlen:0x7ffe0da91c34)
|
08:40:34 | return v6only=1
|
| OK |
08:40:34 | End |