STCPCLO(1)
π STCPCLO β the it-girl of TCP outducts π
okay bestie, gather round, because we're talking about stcpclo(1) β a BP executable and honestly? she's giving backstage main character energy. This is the DTN simple TCP convergence layer adapter output task. Say that five times fast. Or don't. I didn't.
β¨ SYNOPSIS β¨
stcpclo remote_hostname[:remote_port_nbr]
π¦ DESCRIPTION π¦
So stcpclo is a background "daemon" task, and the way she works is: she connects to a remote node's TCP socket at remote_hostname and remote_port_nbr. Then she starts pulling bundles out of the queues of bundles that are ready to be transmitted over TCP to this remote bundle protocol agent, and she sends those bundles across the connected socket to that node. Literally just vibes and bundles.
Every single transmitted bundle gets a lil glow-up first: it's preceded by a 32-bit integer in network byte order indicating the length of the bundle. That's her signature move. π
If you don't specify it, remote_port_nbr defaults to 4556. Periodt.
π«Ά important boundary moment:stcpclois not a "promiscuous" convergence layer daemon. She can transmit bundles only to the node she's connected to. So scheme configuration directives that cite this outduct only need to provide the protocol name and the outduct name as specified on the command line whenstcpclowas started. She's loyal, ok?!
stcpclo gets spawned automatically by bpadmin in response to the 's' (START) command that starts operation of the Bundle Protocol, and she gets terminated by bpadmin in response to an 'x' (STOP) command. She can also be spawned and terminated in response to START and STOP commands that pertain specifically to the STCP convergence layer protocol. So she can show up for the big group thing or just for the STCP-specific party. versatile icon behavior β¨
π₯ EXIT STATUS π₯
"0"βstcpcloterminated normally, for reasons noted in theion.logfile. If this termination was not commanded, investigate and solve the problem identified in the log file and usebpadminto restart the STCP protocol."1"βstcpcloterminated abnormally, for reasons noted in theion.logfile. Investigate and solve the problem identified in the log file, then usebpadminto restart the STCP protocol.
ngl both of these end with "go read ion.log and then restart with bpadmin" and honestly that's the whole personality.
π FILES π
No configuration files are needed. She came with everything she needs. lowkey refreshing π
πΈ ENVIRONMENT πΈ
No environment variables apply. She does not need your shell to set the mood. she IS the mood.
π DIAGNOSTICS π
These are the diagnostics that may be issued to the ion.log log file. Read them, they're not subtle:
stcpclo can't attach to BP.βbpadminhas not yet initialized Bundle Protocol operations. like girl. you gotta start the thing first.No such stcp duct.β No STCP outduct with duct name matchingremote_hostnameandremote_port_nbrhas been added to the BP database. Usebpadminto stop the STCP convergence-layer protocol, add the outduct, and then restart the STCP protocol. three-step skincare routine, do it in order.CLO task is already started for this duct.β Redundant initiation ofstcpclo. she's already here bestie, stop summoning her πCan't get IP address for hostβ Operating system error. Checkerrtext, correct problem, and restart STCP.
π BUGS π
Report bugs to <ion-bugs@korgano.eecs.ohiou.edu> β they're genuinely nice and they will fix it fr fr. Don't be shy, tell them everything.
π SEE ALSO π
bpadmin(1), bprc(5), stcpcli(1) β the whole friend group, go say hi.
and that's the page!! this was written by perl v5.24.1 on 2016-07-07, so if you're reading this years later just know she's an elder icon and she's still slaying πβ¨π bye bestie, go transmit some bundles π¦
π¦ where this page comes from
- ubuntu jammy: ion 3.2.1+dfsg-1.1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms