[java-dev] Re: Help! Need to format list for udp ASAP!
Seejay James
cjlacke at ilstu.edu
Fri Feb 15 14:34:42 MST 2008
- Previous message: [java-dev] Help! Need to format list for udp ASAP!
- Next message: [java-dev] Re: Help! Need to format list for udp ASAP!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
unfortunately it needs to be all in one list, as the hardware is expecting packets of all the DMX channel data. so a stream wouldn't work.
Am looking into aka.datagram, which is perfect, though it's for Mac and we happen to be running on the Dark Side of the OS. will keep poking around, thanks!
Was kind of hoping there was an easy change one could make at the mxj.udp.send level, here:
public void inlet(int i) {
us.send(i);
}
public void inlet(float f) {
us.send(f);
}
public void list(Atom[] a) {
us.send(a);
}
public void anything(String s, Atom[] a) {
us.send(s,a);
}
Is there a change one could make to either of those last two function calls that would format the list as ints? All will be 0-255 values. I'm assuming the call being used is the Atom[] one since I'm sending a list, not a message / symbol.
Thanks!
--CJ
- Previous message: [java-dev] Help! Need to format list for udp ASAP!
- Next message: [java-dev] Re: Help! Need to format list for udp ASAP!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
