SCTP_GENERIC_SENDMSG(2)
π¦ SCTP_GENERIC_SENDMSG(2) π¦
okay so this is the System Calls Manual page for SCTP_GENERIC_SENDMSG(2), and weβre gonna make it cute and correct. no cap. π
β¨ NAME β¨
sctp_generic_sendmsg,sctp_generic_sendmsg_iovβ send data to a peer π
π LIBRARY π
Standard C Library (libc, -lc). she lives in libc, bestie. π«Ά
πΈ SYNOPSIS πΈ
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/sctp.h>
int
sctp_generic_sendmsg(int s, void *msg, int msglen, struct sockaddr *to,
socklen_t len, struct sctp_sndrcvinfo *sinfo, int flags);
int
sctp_generic_sendmsg_iov(int s, struct iovec *iov, int iovlen,
struct sockaddr *to, struct sctp_sndrcvinfo *sinfo, int flags);
π DESCRIPTION π
okay so sctp_generic_sendmsg() and sctp_generic_sendmsg_iov() are the true system calls used by the sctp_sendmsg(3) and sctp_send(3) function calls. iconic. theyβre more efficient since they are true system calls, but they are specific to FreeBSD and can be expected not to be present on any other operating system. so like, FreeBSD-only vibes, no cap. π
for detailed usage please see either the sctp_send(3) or sctp_sendmsg(3) function calls. iykyk. π§
β RETURN VALUES β
The call returns the number of bytes written on success and -1 upon failure. periodt. π
π₯ ERRORS π₯
[EBADF]β the argumentsis not a valid descriptor.[ENOTSOCK]β the argumentsis not a socket.
π SEE ALSO π
mwah π β brought to you by Debian, dated October 30, 2007. bye bestie, go send some data π«Άβ¨
π¦ where this page comes from
- freebsd 15.1: base 15.1
- Copyright (c) 1983, 1991, 1993 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms