Tcp integration samples to send ip commands

Does anyone have samples to send ip commands through tcp if possible for the audio receiver to send updates to volume? Thanks.

Examples for sending tcp packets are right there in the docs:

But The question is what your receiver needs to receive for that, and you give no clue whatsoever other then it is a receiver. So this is about all the help you can get.

Thanks. They show examples for sensors. I am looking for this use case. When some one clicks on volume up button send Z1VUP; and parse the response to display current volume. Let me know what integration would help.