Cuberite
A lightweight, fast and extensible game server for Minecraft
Macros
ErrorCodes.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MBEDTLS_ERR_NET_ACCEPT_FAILED   -0x004A
 Could not accept the incoming connection. More...
 
#define MBEDTLS_ERR_NET_BIND_FAILED   -0x0046
 Binding of the socket failed. More...
 
#define MBEDTLS_ERR_NET_BUFFER_TOO_SMALL   -0x0043
 Buffer is too small to hold the data. More...
 
#define MBEDTLS_ERR_NET_CONN_RESET   -0x0050
 Connection was reset by peer. More...
 
#define MBEDTLS_ERR_NET_CONNECT_FAILED   -0x0044
 The connection to the given server / port failed. More...
 
#define MBEDTLS_ERR_NET_INVALID_CONTEXT   -0x0045
 The context is invalid, eg because it was free()ed. More...
 
#define MBEDTLS_ERR_NET_LISTEN_FAILED   -0x0048
 Could not listen on the socket. More...
 
#define MBEDTLS_ERR_NET_RECV_FAILED   -0x004C
 Reading information from the socket failed. More...
 
#define MBEDTLS_ERR_NET_SEND_FAILED   -0x004E
 Sending information through the socket failed. More...
 
#define MBEDTLS_ERR_NET_SOCKET_FAILED   -0x0042
 Error codes from mbedtls net_sockets.h. More...
 
#define MBEDTLS_ERR_NET_UNKNOWN_HOST   -0x0052
 Failed to get an IP address for the given hostname. More...
 

Macro Definition Documentation

◆ MBEDTLS_ERR_NET_ACCEPT_FAILED

#define MBEDTLS_ERR_NET_ACCEPT_FAILED   -0x004A

Could not accept the incoming connection.

Definition at line 9 of file ErrorCodes.h.

◆ MBEDTLS_ERR_NET_BIND_FAILED

#define MBEDTLS_ERR_NET_BIND_FAILED   -0x0046

Binding of the socket failed.

Definition at line 7 of file ErrorCodes.h.

◆ MBEDTLS_ERR_NET_BUFFER_TOO_SMALL

#define MBEDTLS_ERR_NET_BUFFER_TOO_SMALL   -0x0043

Buffer is too small to hold the data.

Definition at line 14 of file ErrorCodes.h.

◆ MBEDTLS_ERR_NET_CONN_RESET

#define MBEDTLS_ERR_NET_CONN_RESET   -0x0050

Connection was reset by peer.

Definition at line 12 of file ErrorCodes.h.

◆ MBEDTLS_ERR_NET_CONNECT_FAILED

#define MBEDTLS_ERR_NET_CONNECT_FAILED   -0x0044

The connection to the given server / port failed.

Definition at line 6 of file ErrorCodes.h.

◆ MBEDTLS_ERR_NET_INVALID_CONTEXT

#define MBEDTLS_ERR_NET_INVALID_CONTEXT   -0x0045

The context is invalid, eg because it was free()ed.

Definition at line 15 of file ErrorCodes.h.

◆ MBEDTLS_ERR_NET_LISTEN_FAILED

#define MBEDTLS_ERR_NET_LISTEN_FAILED   -0x0048

Could not listen on the socket.

Definition at line 8 of file ErrorCodes.h.

◆ MBEDTLS_ERR_NET_RECV_FAILED

#define MBEDTLS_ERR_NET_RECV_FAILED   -0x004C

Reading information from the socket failed.

Definition at line 10 of file ErrorCodes.h.

◆ MBEDTLS_ERR_NET_SEND_FAILED

#define MBEDTLS_ERR_NET_SEND_FAILED   -0x004E

Sending information through the socket failed.

Definition at line 11 of file ErrorCodes.h.

◆ MBEDTLS_ERR_NET_SOCKET_FAILED

#define MBEDTLS_ERR_NET_SOCKET_FAILED   -0x0042

Error codes from mbedtls net_sockets.h.

Failed to open a socket.

Definition at line 5 of file ErrorCodes.h.

◆ MBEDTLS_ERR_NET_UNKNOWN_HOST

#define MBEDTLS_ERR_NET_UNKNOWN_HOST   -0x0052

Failed to get an IP address for the given hostname.

Definition at line 13 of file ErrorCodes.h.