I had set socket buffer like this..
buf_size =16*1024;
err = setsockopt( m_hSock, SOL_SOCKET, SO_SNDBUF, (char *)&buf_size, sizeof(buf_size));
Everything ok while sending data to client...
My question is
I want to clear data in the buffer and send data immediately sometimes.
How can I do that ?
thanks.
Start Free Trial