TIPC-PIPE(1)

πŸ“¦ version 3.0.6, in epel 9, fedora 43, fedora 44, opensuse-leap 16.0

πŸ’– TIPC-PIPE(1) πŸ’–

okay bestie, so this is a page from the General Commands Manual, and it's literally all about tipc-pipe. sit down, grab a boba, we're doing this πŸ§‹βœ¨


✨ NAME ✨

tipc-PIPE β€” simple client/server. that's it, that's the whole vibe. a lil client, a lil server, iconic behavior πŸ‘‘


🌸 SYNOPSIS 🌸

tipc-pipe <options> [address 1] [address 2]

like... give it some options and up to two addresses and it just goes. no cap 🫢


πŸ’… DESCRIPTION πŸ’…

tipc-pipe is giving netcat but for tipc, fr fr. it reads and writes network connections using tipc, and honestly? obsessed. main character energy for your terminal 🌈


πŸŽ€ Options πŸŽ€

heads up babes: defaults are marked with a * β€” that's the "this is what happens if you say nothing" star ⭐

  • -h | --help β€” shows you this help. your lil emergency exit when you're lost πŸ’–
  • -l β€” run in server mode, and it will accept multiple connections. the more the merrier, periodt πŸ₯³
  • -s β€” run in single connection server mode, and it exits when the connection closes. also: the default mode is client mode, so if you don't pick anything you're a client, no cap ✨
  • --sock_type β€” *SOCK_STREAM | SOCK_DGRAM | SOCK_RDM | SOCK_SEQPACKET. pick your socket flavor πŸ“
  • --server_type β€” *1000 | <n>. defaults to 1000, or you can pass your own <n> πŸ’«
  • --addr_type β€” TIPC_ADDR_NAMESEQ | TIPC_ADDR_MCAST | *TIPC_ADDR_NAME. and listen: for TIPC_ADDR_NAME only address 1 gets used. for TIPC_ADDR_NAMESEQ or TIPC_ADDR_MCAST, address 1 and address 2 both get used. important!! don't skip this one πŸ™ˆ
  • --delay β€” *0 | <ms>. sets the data reading and writing delay in ms. default is 0, i.e. no waiting around πŸ’¨
  • --data_num β€” *0 | <count>. generates the defined number of sample data and sends it. yes, "sends is" β€” the original said that, we're keeping it, it's part of the lore πŸ˜­πŸ’€
  • --data_size β€” *0. generates packets of the defined size when data_num is defined. they're a package deal bestie 🎁
  • --data_check β€” checks the sequence numbers in received data, the ones generated with the data_num option. detective mode πŸ”
  • --buf_size β€” *66000 | <n>. the I/O buffer size (peep TIPC_MAX_USER_MSG_SIZE for the tea) 🧚
  • --wait_peer β€” *0. wait for the peer's published state before communicating. polite queen behavior, waiting for your friend to show up before you start talking 🫢
  • --top β€” run the topology client πŸ—ΊοΈ
  • --replay β€” forces the connectionless server to send input to the last connected client. lowkey chaotic, highkey useful πŸ’…

🌟 Short Options 🌟

the lil shortcut squad, here to save you keystrokes:

  • --rdm β€” sock_type = SOCK_RDM
  • --pct β€” sock_type = SOCK_PACKET
  • --stm β€” * sock_type = SOCK_STREAM (the default, the chosen one πŸ‘‘)
  • --sqp β€” sock_type = SOCK_SEQPACKET
  • --nam β€” * addr_type = TIPC_ADDR_NAME (also the default πŸŽ€)
  • --mc β€” addr_type = TIPC_ADDR_MCAST or TIPC_ADDR_NAMESEQ
  • --id β€” addr_type = TIPC_ADDR_ID

πŸ”₯ EXAMPLES πŸ”₯

SOCK_STREAM single connection server with address zero and client:

tipc-pipe -s | tee input
date | tipc-pipe

look at that pipe energy πŸ¦‹

SOCK_RDM server with address 123 and client:

tipc-pipe --rdm --replay -l 123
tipc-pipe --rdm 123

Start topology client for all addresses of specified optional server type:

tipc-pipe --server_type=1000 --top -- 0 -1

yes there's a bare -- in there. it's real, we love it, don't touch it 😌


πŸ’œ AUTHORS πŸ’œ

Constantine Shulyupin β€” const@makelinux.com. the legend who made all of this happen, we stan πŸ™Œ


πŸ› REPORTING BUGS πŸ›

found a bug? report ls bugs to tipc-discussion@lists.sourceforge.net. (yes, ls bugs, exactly like that, we are not editing the source material, periodt πŸ’€)

ngl if something's acting cursed, tell the mailing list before you start yelling at your terminal. they're nice, i promise πŸ’–

okay that's the whole page bestie!! and for the cute lil sign-off: this was the TIPC-PIPE(1) page, dated 25 Jan 2013 β€” yeah, she's an elder but she still slays. go forth and pipe responsibly πŸŒΈβœ¨πŸ’…

πŸ“¦ where this page comes from