IPV6_RECVERR(2const)
β¨ IPV6_RECVERR β¨
okay bestie so this is a 2const page from the Linux man-pages (that's the manual, section 2, constant-flavored) and it's literally about extended reliable error message passing π like that's the whole NAME, we're not being subtle here
π LIBRARY
Standard C library (libc, -lc). yep, the classic, we love her π«Ά
πΈ SYNOPSIS
#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));
not me just handing you the exact function signatures so you can copy-paste them π do not freestyle these, okay?
π DESCRIPTION
So basically: this controls receiving of asynchronous error options. That's it, that's the job π
setsockopt()withIPV6_RECVERRβ you pass aconst int *enableand it turns the receiving of async error options on or off (the size issizeof(int), keep it consistent bestie).getsockopt()withIPV6_RECVERRβ you pass anint *enabledand it tells you whether it's currently on, again atsizeof(int).
For the actual deets on the behavior, you gotta go read IP_RECVERR(2const). This page is just the IPv6 flavored constant, she's pointing you to her sibling π«Ά
π ERRORS
Like, where do you even look? The original says:
- See
IPPROTO_IPV6(2const). - See
setsockopt(2). - See
ipv6(7).
that's the whole list, no notes β¨
π SEE ALSO
like a little friend group, all iconic, all worth a read π
and that's the whole page, no cap π This was Linux man-pages 6.20, dated 2025-12-02 β from the IPV6_RECVERR(2const) page itself. tysm for reading, go set some socket options, slay πβ¨π¦
π¦ where this page comes from
- arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- π the page's license: Linux-man-pages-copyleft
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms