IPV6_RECVERR(2const)

πŸ“¦
version 6.20 Β· 4 versions
, in arch rolling, nixpkgs unstable

✨ 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() with IPV6_RECVERR β†’ you pass a const int *enable and it turns the receiving of async error options on or off (the size is sizeof(int), keep it consistent bestie).
  • getsockopt() with IPV6_RECVERR β†’ you pass an int *enabled and it tells you whether it's currently on, again at sizeof(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:

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