IPV6_RECVERR(2const)

IPV6_RECVERR2const

Extended reliable error message passing

Usage

#include <netinet/in.h>  /* Definition of IP* constants */
#include <sys/socket.h>

int setsockopt(int sockfd, IPPROTO_IPV6, IPV6_RECVERR, const int *enable, sizeof(int)); int getsockopt(int sockfd, IPPROTO_IPV6, IPV6_RECVERR, int *enabled, sizeof(int));

Library

Standard C library (libc, -lc)

Overview

Control receiving of asynchronous error options.

See IP_RECVERR(2const).

Errors

See IPPROTO_IPV6(2const). See setsockopt(2). See ipv6(7).

From man-pages 6.19-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.