how to receive a big data by socket?

i want receive a big data by socke, about 50K.

in socetReader

void CSocketsReader::RunL()
{
// Active object request complete handler
switch ( iStatus.Int() )
{
case KErrNone:
// Character has been read from socket
//TBuf8<512> iBuffer;
iEngineNotifier.ResponseReceived( iBuffer );
if(iBuffer'data is not enough)
{
iSocket.RecvOneOrMore( iBuffer, 0, iStatus, iDummyLength );
}

break;
case KErrDisconnected:

break;
default:

break;
}
}


is it can do it ?
thanks !!