Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumeration/Typedefs

Specific Enumeration-typedefs used for socket operations.

Modules

 Asynchronous Events
 Specific Enumeration used for asynchronous operations.
 

Data Structures

struct  in_addr
 IPv4 address representation. More...
 
struct  sockaddr
 Generic socket address structure. More...
 
struct  sockaddr_in
 Socket address structure for IPV4 addresses. Used to specify socket address information to connect to. Can be cast to sockaddr structure. More...
 
struct  tstrSockErr
 Detail about socket failures. Used with get_error_detail. More...
 

Typedefs

typedef sint8 SOCKET
 Definition for socket handler data type. Socket ID,used with all socket operations to uniquely identify the socket handler. The ID is uniquely assigned at socket creation when calling socket operation. More...
 
typedef sint8 SOCKET
 

Enumerations

enum  tenuSockErrSource {
  SOCKET_ERR_UNKNOWN = 0,
  SOCKET_ERR_TLS_REMOTE,
  SOCKET_ERR_TLS_LOCAL
}
 Source of socket error (local, remote or unknown). More...
 

Definition for socket handler data type. Socket ID,used with all socket operations to uniquely identify the socket handler. The ID is uniquely assigned at socket creation when calling socket operation.

typedef sint8 SOCKET

Source of socket error (local, remote or unknown).

See Also
tstrSockErr
Enumerator
SOCKET_ERR_UNKNOWN 

No detail available (also used when there is no error).

SOCKET_ERR_TLS_REMOTE 

TLS Error Alert received from peer.

SOCKET_ERR_TLS_LOCAL 

TLS Error Alert generated locally.