pdreceive(1)

πŸ’– pdreceive β€” the manual, but make it cute ✨

okay bestie, welcome to pdreceive(1), a general commands manual page πŸŽ€ she's a little old-school but she's iconic, no cap.


🌸 NAME 🌸

pdreceive β€” receive messages from pd on this machine or a remote one πŸ¦‹


✨ SYNOPSIS ✨

pdreceive port-number [udp|tcp]

πŸ’« DESCRIPTION πŸ’«

So here's the tea πŸ“: Pdreceive opens a socket (with the port number you give it) and just... waits πŸ’…. Waits for messages to arrive from one or more instances of pd(1). Patient queen behavior, honestly.

Every single message that shows up gets printed to standard output with a trailing semicolon. Periodt. And the protocol it speaks is super easy to implement β€” it's called FUDI 🧚 (iykyk).

⚠️ real talk: the port number you pass should agree with the port number of a "netsend" object inside pd. otherwise they're just two girlies not texting back 😭

The protocol is tcp by default, and that's the main character for a reason β€” it does a handshake 🀝 to guarantee that all messages arrive complete and in their correct order. If you're sending messages locally or point-to-point though, you can often get away with the faster udp protocol instead. slay, lowkey efficient πŸ”₯

You can also use this to get messages from a Max "pdnetsend" object πŸŽ€ or even just a "pdsend" in another shell. And if you're writing your own program? You're so welcome to just grab the sources for pdsend/pdreceive and adapt them to your own ends πŸ’œ β€” they're part of the Pd distribution, fr fr.


πŸ‘‘ SEE ALSO πŸ‘‘


GNU 🌈 1996 Mar 20 β€” yeah she's been around since the nineties and she's still serving, we love a vintage icon πŸ’– bye bestie, go receive some messages 🫢✨