I'm writing an external that prepares raw binary information that should be sent directly to a device using TCP and UDP (I need to send data on both kind of sockets). Since I don't want to spend time with implementing my own TCP and UDP sender/receiver objects, I though I would send the raw binary output over net.tcp.send and udpsend, respectively. My problem is that I don't know how to send out raw binary data on an outlet (what kind of atoms are designed for this and how should I create the right outlet). First I though I could send the data as a string in the symbol list, but this fails as the binary data will be truncated at the first NULL byte appearing in the stream.
Do you have any suggestions?