65,189
社区成员




int nLen = 1024 * 1024 * 1024 * 1.5;
int nValue = 0;
int nTest = 4;
int nRe = setsockopt(sock, SOL_SOCKET, SO_RCVBUF, reinterpret_cast<char*>(&nLen), 4);
nRe = getsockopt(sock, SOL_SOCKET, SO_RCVBUF, reinterpret_cast<char*>(&nValue), &nTest);