tipc_getsockopt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is tipc_getsockopt(9), straight out of the Kernel API Manual, and it’s giving β€œget socket option” energy. no cap. 🫢

tipc_getsockopt β€” get socket option.


✨ SYNOPSIS ✨

int tipc_getsockopt (struct socket *sock , int lvl , int opt , sockopt_t
       *sopt );

πŸŽ€ ARGUMENTS πŸŽ€

  • sock β€” socket structure. the socket struct in question, bestie.
  • lvl β€” option level. which option level we’re on.
  • opt β€” option identifier. the option’s whole ID.
  • sopt β€” socket option container (input buffer length, output value/length). this lil container carries the input buffer length and the output value/length.

πŸ¦‹ DESCRIPTION πŸ¦‹

For stream sockets only, it returns a 0 length result for all IPPROTO_TCP options β€” literally to ease compatibility. that’s the whole vibe. no extra lore. ✨


🌈 RETURN 🌈

0 on success, errno otherwise. periodt. πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

the whole squad, in order:

mwah πŸ’– this lil page comes from ./net/tipc, dated October 2026 β€” ty for reading, bestie, u ate πŸ’…

πŸ“¦ where this page comes from