Hi Emmanuel, Quick question...Does the IoBuffer.position() return a non-zero value when data is being resent because of an earlier NEED_DATA result ? As per the description of position, the position is the index of next element to be read or written.
http://docs.oracle.com/javase/1.5.0/docs/api/java/nio/Buffer.html
