Thank you very much for your reply.I did the both changes what u mentioned.Then also i'm not able to recieve the server response.
Below is modified code snippet:
And i'm also having another doubet that whether it might be buffer problem,means i need to use HBufC8 here .im using TBufC8 now.is this OK.
if ( iActiveSocket )
iActiveSocket.RecvOneOrMore( iBuffer, 0, iStatus, iLen );
iTransactionObserver->SuccessL(0,&iBuffer,KErrNone); //where iTransactionObserver is a Observer class
Thanks in advance.