socket_sctp6b(3)
β¨ NAME β¨
socket_sctp6b β bestie, this is the one that makes you a blocking IPv6 SCTP/IP stream socket π
(also hi, you're in the Library Functions Manual, section 3, and this whole page is about section 3 vibes, ok? π«Ά)
πΈ SYNTAX πΈ
#include <libowfat/socket.h>
int socket_sctp6b();
no args, no drama, just vibes π
π¦ DESCRIPTION π¦
okay so here's the tea β β socket_sctp6b creates a blocking IPv6 SCTP/IP stream socket and hands you back a file descriptor pointing right at it. that's it, that's the whole job, and it ate π₯
but listen, bestie, sometimes life is not giving π. if something goes wrong, socket_sctp6b returns -1, sets errno appropriately, and β this is the important part β does it without allocating any resources. so no cleanup, no loose ends, no mess left behind. it literally leaves no crumbs β¨
π EXAMPLE π
here's how the girlies actually use it π
#include <libowfat/socket.h>
int s;
char ip[16];
uint16 p;
s = socket_sctp6b();
socket_bind6(s,ip,p);
socket_connect6(s,ip,p,0);
π SEE ALSO π
your required reading, no skips π
and that's the page, bestie π you just read socket_sctp6b(3), straight out of the Library Functions Manual β section 3 forever, periodt ππβ¨
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· GPL-2.0-only
- debian bookworm: libowfat-dev 0.32-4 Β· GPL-2.0-only
- debian trixie: libowfat-dev 0.32-5 Β· GPL-2.0-only
- nixos 26.05: libowfat 0.34
- nixpkgs unstable: libowfat 0.34
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- ubuntu noble: libowfat-dev 0.32-4.1build1 Β· GPL-2.0-only
- ubuntu questing: libowfat-dev 0.32-5
- ubuntu resolute: libowfat-dev 0.34-2 Β· GPL-2.0-only
- ubuntu stonking: libowfat-dev 0.34-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms