Problem: IPV6_TCLASS setsockopt fails on IPv4 socket
Solution: if setsockopt errors out and errno is set to ENOPROTOOPT (or EINVAL on OSX) ignore it and carry on.
Showing
Please
register
or
sign in
to comment
Solution: if setsockopt errors out and errno is set to ENOPROTOOPT (or EINVAL on OSX) ignore it and carry on.