sctp_darn(1)
sctp_darn π
okay bestie, welcome to the General Commands Manual section 1 glow-up of sctp_darn β the lil' tool that sends and receives messages over SCTP. yes it's a test app. yes it's iconic. let's get into it π«Ά
β¨ NAME β¨
sctp_darn β send and receive messages via SCTP π
β¨ SYNOPSIS β¨
sctp_darn -H local_address -P local_port [-h remote_host] [-p
remote_port] -l|s
like. that's the whole vibe. local address + local port, optionally a remote friend, and then you pick your main character mode: listen or send. no cap πΈ
β¨ DESCRIPTION β¨
So this is a userspace test application for the SCTP Linux kernel reference implementation state machine. and honestly? it's vaguely inspired by Stevens' program "sock". not a copy, justβ¦ spiritually adjacent. it's giving homage π
It has the limited ability to send messages and to listen for messages sent via SCTP. that's it, that's the whole job. it does that one thing and it does it. periodt β¨
β¨ OPTIONS β¨
okay here's the whole lineup, don't skip any, I know it's long but every single one matters π
-H,--locallocal_address β specify one of the local addresses. your home base π-P,--local-portlocal_port β specify the port number for local addresses. the door number of your home base πͺ-h,--remoteremote_address β specify the peer address. who you're talking to π¦-p,--remote-portremote_port β specify the port number for the peer address. their door number π-l,--listenβ print messages received from the peer. sit pretty and vibe, they'll come to you π-s,--sendβ send messages to the peer. you're the one initiating, main character energy fr fr π₯-B,--bindx-addaddress β add the specified address(es) as additional bind addresses to the local socket. multiple addresses can be specified by this argument multiple times. for example,'-B 10.0.0.1 -B 20.0.0.2'. stacking them up like a collection π-b,--bindx-remaddress β remove the specified address(es) from the bind addresses of the local socket. multiple addresses can be specified by this argument multiple times. for example,'-b 10.0.0.1 -b 20.0.0.2'. spring cleaning, but for addresses π§Ή-Iβ use the interactive mode. you get to talk to it π-iβ setup the specified number of endpoints by using the specified local host (-H) and local port (-P). the port number will be incremented by one for each additional endpoint. all of these endpoints will be listening. and if a remote host (-h) and a remote port are also specified, the first endpoint will start sending fixed sized messages to the remote host. it's a whole squad of endpoints, they're all matching π«Ά-msize β specify the sockoptsndbuf/rcvbufsize. buffer szn πΎ-nβ set the socket(s) to be in the non-blocking mode. collect messages fromstdinand deliver them to the peer. no waiting around, we're busy girls β--use-pollβ use system callpoll()for polling among the number of endpoints specified by the-ioption. without this option,select()would be used as default. pick your fighter π-tβ useSOCK_STREAMtcp-style sockets. fake it till you make it, tcp-flavored π-zsize β specify the message size to be sent. the default message size generated would be 16K. yes,16K, that's the default, don't come for me π--interfaceifname β select interface forsin6_scope_id. yes the scope id, yes it's a whole thing πΈ
ngl bestie,-land-sare your two modes β the synopsis literally makes you pick one. choose wisely π
β¨ AUTHOR β¨
Michael Biebl <biebl@debian.org> β the icon, the legend, the author π
okay that's the whole page, you're officially educated πβ¨ go forth and sctp_darn, bestie. this was page sctp_darn(1) from the General Commands Manual β tysm for reading, mwah π
ππ¦
π¦ where this page comes from
- debian bookworm: lksctp-tools 1.0.19+dfsg-2 Β· GPL-2.0-or-later
- debian trixie: lksctp-tools 1.0.21+dfsg-1 Β· GPL-2.0-or-later
- ubuntu jammy: lksctp-tools 1.0.19+dfsg-1build1 Β· GPL-2.0-or-later
- ubuntu noble: lksctp-tools 1.0.19+dfsg-2build1 Β· GPL-2.0-or-later
- ubuntu questing: lksctp-tools 1.0.21+dfsg-1build1
- ubuntu resolute: lksctp-tools 1.0.21+dfsg-1build2 Β· GPL-2.0-or-later
- ubuntu stonking: lksctp-tools 1.0.21+dfsg-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms