tipc_sendmsg(9)
π tipc_sendmsg(9) β the kernel API manual, bestie edition π
okay so you found the tipc_sendmsg(9) page in the Kernel API Manual, and honestly? it's a little cutie. let's get into it π
β¨ NAME β¨
tipc_sendmsg β send a message in a connectionless manner π¦
no connection, no strings, just vibes and a destination you gotta spell out yourself. periodt.
πΈ SYNOPSIS πΈ
int tipc_sendmsg (struct socket *sock , struct msghdr *m , size_t dsz );
look at that signature. iconic. she takes three things and she's not sorry about it π
π«Ά ARGUMENTS π«Ά
sockβ the socket structure, aka the whole entire main character of this function πmβ the message you wanna send, the actual payload-bearer π§dszβ how many bytes of user data you're sending. the receipts. the count. keep it accurate bestie π₯
π DESCRIPTION π
so here's the tea: your message must have a destination specified explicitly. no autocorrect, no guessing, no "she'll figure it out." you say where it goes, or nothing happens π
this one's used for SOCK_RDM and SOCK_DGRAM messages β the connectionless girlies β and also for 'SYN' messages on SOCK_SEQPACKET and SOCK_STREAM connections β
π¨ important warning, ngl:'SYN+'is prohibited onSOCK_STREAM. do not try it. it's not giving. it's giving error. π
π RETURN π
on success? she returns the number of bytes sent π on failure? errno otherwise. that's it, that's the whole mood π
π SEE ALSO π
the whole group chat, fr fr β every single one of these is on the list, no cap:
Kernel file ./net/tipc/socket.c struct tipc_sock(9)tsk_advance_rx_queue(9)tsk_rej_rx_queue(9)tipc_sk_create(9)tipc_release(9)__tipc_bind(9)tipc_getname(9)tipc_poll(9)tipc_sendmcast(9)tipc_send_group_msg(9)tipc_send_group_unicast(9)tipc_send_group_anycast(9)tipc_send_group_bcast(9)tipc_send_group_mcast(9)tipc_sk_mcast_rcv(9)tipc_sk_conn_proto_rcv(9)tipc_sendstream(9)tipc_send_packet(9)tipc_sk_set_orig_addr(9)tipc_sk_anc_data_recv(9)tipc_recvmsg(9)tipc_recvstream(9)tipc_write_space(9)tipc_data_ready(9)tipc_sk_filter_connect(9)rcvbuf_limit(9)tipc_sk_filter_rcv(9)tipc_sk_backlog_rcv(9)tipc_sk_enqueue(9)tipc_sk_rcv(9)tipc_connect(9)tipc_listen(9)tipc_accept(9)tipc_shutdown(9)tipc_setsockopt(9)tipc_getsockopt(9)tipc_socket_init(9)tipc_socket_stop(9)tipc_sk_filtering(9)tipc_sk_overlimit1(9)tipc_sk_overlimit2(9)tipc_sk_dump(9)
like, that's a lot of friends. she's connected π iykyk.
and that's the page!! mwah π sourced straight from ./net/tipc, dated October 2026 β big slay, big nostalgia, hug your local kernel hacker for me π«Άβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms