byte buffer and socket channel