[java-dev] Re: Arbitrary binary data with TcpSender?
Peter Castine
pcastine at gmx.net
Wed Jan 9 15:59:09 MST 2008
- Previous message: [java-dev] Arbitrary binary data with TcpSender?
- Next message: [java-dev] Re: Arbitrary binary data with TcpSender?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks to both Topher and Nick. In the mean time I've been looking at java.net.Socket, but that's also meant importing add'l packages to catch exceptions and other fun stuff. It looks like I need java.net.*, java.lang.*, and java.io.* as well as the Cycling74 packages. I'm sure it'll all seem easy once I've figured it out, but a lot of this is new ground for me. Given the size of the data (I misspoke previously, it's more like 7-8kB), I was a little unsure of the binary string approach. I was thinking (probably incorrectly) that if I were to do something like TcpSender.send(String s, Atom[] a), the contents of the String would have to go into the Max symbol table (the signature _looks_ like a Max message starting with a symbol). But if the Max symbol table doesn't need to know about what data is being used inside an mxj object, than that isn't a problem. I'll try to get the coding finished tomorrow and can show some code if I'm still stuck. Thanks again. -- P -- Peter Castine -- Peter is in dire need of a new Facebook tagline. Not to mention a new .sig
- Previous message: [java-dev] Arbitrary binary data with TcpSender?
- Next message: [java-dev] Re: Arbitrary binary data with TcpSender?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
