From: EJP on
lightning wrote:
> What I wanna know is - Is this method perform an I/O operation
> at lower-layer or just copy bits from a place in the memory.

It's the same thing. If OP_READ has fired, the data has already arrived
in the socket buffer, and calling receive() copies it into your ByteBuffer.
From: lightning on
thx , just to ensure that when read fires,all those bits have already
arrived at the memory

On 2ÔÂ1ÈÕ, ÏÂÎç3ʱ33·Ö, EJP <esmond.not.p...(a)not.bigpond.com> wrote:
> lightning wrote:
> > What I wanna know is - Is this method perform an I/O operation
> > at lower-layer or just copy bits from a place in the memory.
>
> It's the same thing. If OP_READ has fired, the data has already arrived
> in the socket buffer, and calling receive() copies it into your ByteBuffer..