MPD: SocketErrorMessage Class Reference

MPD 0.20.18

Public Member Functions
SocketErrorMessage Class Reference

Helper class that formats a socket error message into a human-readable string. More...

`#include <SocketError.hxx>`

## Public Member Functions
| SocketErrorMessage (socket_error_t code=GetSocketError()) noexcept
| operator const char * () const

## Detailed Description

Helper class that formats a socket error message into a human-readable string.

On Windows, a buffer is necessary for this, and this class hosts the buffer.

Definition at line 83 of file SocketError.hxx.

## Constructor & Destructor Documentation

## ◆ SocketErrorMessage()

SocketErrorMessage::SocketErrorMessage | ( | socket_error_t | code = `GetSocketError()` | ) |
| explicitnoexcept

## Member Function Documentation

## ◆ operator const char *()

SocketErrorMessage::operator const char * | ( |  | ) | const
| inline

Definition at line 93 of file SocketError.hxx.

The documentation for this class was generated from the following file:

- net/SocketError.hxx