| 289 | } |
| 290 | |
| 291 | unsigned int Socket::Send(const byte* buf, size_t bufLen, int flags) |
| 292 | { |
| 293 | CRYPTOPP_ASSERT(m_s != INVALID_SOCKET); |
| 294 | int result = send(m_s, (const char *)buf, UnsignedMin(INT_MAX, bufLen), flags); |
| 295 | CheckAndHandleError_int("send", result); |
| 296 | return result; |
| 297 | } |
| 298 | |
| 299 | unsigned int Socket::Receive(byte* buf, size_t bufLen, int flags) |
| 300 | { |
nothing calls this directly
no test coverage detected