110,545
社区成员
发帖
与我相关
我的任务
分享
while ((nBytes = m_Socket.Receive(ReceiveBuffer, 0, s_ContentBufferSize, SocketFlags.None)) > 0)
{
nTotalBytes += nBytes;
strResponse += s_DefaultEncoding.GetString(ReceiveBuffer, 0, nBytes);
if (m_ContentLength > 0 && nTotalBytes >= m_ContentLength)
break;
}