scruz: how long is your buffer, anyway. what's buf.length return?