enum EE::Network::Socket::Status

Overview

Status codes that may be returned by socket functions. More…

#include <socket.hpp>

enum Status {
    Done,
    NotReady,
    Partial,
    Disconnected,
    Error,
};

Detailed Documentation

Status codes that may be returned by socket functions.

Enum Values

Done

The socket has sent / received the data.

NotReady

The socket is not ready to send / receive data yet.

Partial

The socket sent a part of the data.

Disconnected

The TCP socket has been disconnected.

Error

An unexpected error happened.