Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- ProtoShares/src/net.cpp 2013-11-11 11:46:13.019922787 -0800
- +++ ProtoShares-new/src/net.cpp 2013-11-11 12:34:22.155890315 -0800
- @@ -710,7 +710,7 @@
- while (it != pnode->vSendMsg.end()) {
- const CSerializeData &data = *it;
- assert(data.size() > pnode->nSendOffset);
- -#ifdef WIN32
- +#if 1
- int nBytes = send(pnode->hSocket, &data[pnode->nSendOffset], data.size() - pnode->nSendOffset, MSG_NOSIGNAL | MSG_DONTWAIT);
- #else
- int nBytes = send(pnode->hSocket, &data[pnode->nSendOffset], data.size() - pnode->nSendOffset, MSG_DONTWAIT);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement