Joel VanderWerf wrote: > Otherwise, this is pretty much the right approach to managing discrete > messages using a length field. Your code works for me with a few edits. > My own impl.: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/177704 (doesn't even depend on BitStruct, and includes a C version and tests!) -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407