XML Feeds

.

[java-dev] Arbitrary binary data with TcpSender?

Peter Castine pcastine at gmx.net
Wed Jan 9 14:38:38 MST 2008


I need to build an object that can send arbitrary binary data via TCP. I was hoping to use mxj, in particular com.cycling74.net.TcpSender for this purpose. But on closer examination, TcpSender only seems to grok standard Max data types.-(

I need to send largish (2-4kB) data structures of binary data to custom hardware, and the data simply does not parse into Atoms. Ideally I would like to simply pass a byte[] to a TcpSender, which does everything else I need quite handily. Is this possible? (Preparing the stream of bytes is not the problem, at least not yet!)

Thanks -- P


--
Peter Castine
--
Peter is in dire need of a new Facebook tagline. Not to mention a new .sig


More information about the java-dev mailing list