Hi to All,

In my project i am using CASyncSocket to communicate with server. Some times server send information like "A2BC#Message:aaa", "TEXT#AMessage:bbbbb",but at client side bufferlenght=4096.
AsyncSocket::OnReceive(error)
{
int a=mysocket.Receive(buffer,bufferlength);
}

it first receives only one charecter that is 'A', then after some times it receives remaining data.
some times after receiving one char,then omit the "2BC#Message:aaa" start receiving second message first char 'T', then it might be receive second message remaining data.
Received data ==AT.

Is there any problem in my program or AsyncSocket?
Please help me
it causes more problem with slow network connections.

Thanks in Advance,
Bharath