I have a small ingest TCP server that should accept a device UUID as a first message, which is only 16 bytes. I'd like to test this manually from terminal, but sending a string won't work, since it had 36 bytes and would be truncated, hence the wrong UUID. In general i'd like the most easiest way to do this, e.g -
echo 6a43cf05-9d41-4ebf-b8da-f491f42128c0 | nc localhost 8080
But naturally this won't work. Any other way to send a proper UUID from the console via tcp?