| 424 | }; |
| 425 | |
| 426 | std::string NetworkErrorString(int err) |
| 427 | { |
| 428 | #if defined(WIN32) |
| 429 | return Win32ErrorString(err); |
| 430 | #else |
| 431 | // On BSD sockets implementations, NetworkErrorString is the same as SysErrorString. |
| 432 | return SysErrorString(err); |
| 433 | #endif |
| 434 | } |
no test coverage detected