| 297 | } |
| 298 | |
| 299 | unsigned int Socket::Receive(byte* buf, size_t bufLen, int flags) |
| 300 | { |
| 301 | CRYPTOPP_ASSERT(m_s != INVALID_SOCKET); |
| 302 | int result = recv(m_s, (char *)buf, UnsignedMin(INT_MAX, bufLen), flags); |
| 303 | CheckAndHandleError_int("recv", result); |
| 304 | return result; |
| 305 | } |
| 306 | |
| 307 | void Socket::ShutDown(int how) |
| 308 | { |
nothing calls this directly
no test coverage detected