uys,
I am sending around 8192 bytes from server
through sockets. and through client i am recieving about 1024 at once.
I want to invoke my handler after i recieved the first chunk.
OnSocketReceive is like while loop. but my data will complete only after two or three onSocketRecieve. How would i detect that I recieved first set of data from server. my handler just prints data on line charts. private void OnSocketConnectCompleted(object sender, SocketAsyncEventArgs e)
{
if (e.SocketError == SocketError.Success)
{
Socket socket = (Socket)e.UserToken;
byte[] response = new byte[socket.ReceiveBufferSi ...
Go to the complete details ...