IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


Status and error codes


Detailed Description

Status and error codes returned by TCPIP API functions

Defines

#define ENOERROR   0
#define EPERM   201
#define ENOENT   202
#define ESRCH   203
#define EINTR   204
#define EIO   205
#define ENXIO   206
#define EBADF   209
#define ECHILD   210
#define ENOMEM   212
#define EACCES   213
#define EFAULT   214
#define EEXIST   217
#define ENODEV   219
#define ENOTDIR   220
#define EISDIR   221
#define EINVAL   222
#define EMFILE   224
#define ENOSPC   228
#define ERANGE   234
#define ERR_IO_LAST   ERANGE
#define EWOULDBLOCK   235
#define EAGAIN   EWOULDBLOCK
#define EINPROGRESS   236
#define EALREADY   237
#define ENOTSOCK   238
#define EDESTADDRREQ   239
#define EMSGSIZE   240
#define EPROTOTYPE   241
#define ENOPROTOOPT   242
#define EPROTONOSUPPORT   243
#define ESOCKTNOSUPPORT   244
#define EOPNOTSUPP   245
#define EPFNOSUPPORT   246
#define EAFNOSUPPORT   247
#define EADDRINUSE   248
#define EADDRNOTAVAIL   249
#define ENETDOWN   250
#define ENETUNREACH   251
#define ENETRESET   252
#define ECONNABORTED   253
#define ECONNRESET   254
#define ENOBUFS   255
#define EISCONN   256
#define ENOTCONN   257
#define ESHUTDOWN   258
#define ETOOMANYREFS   259
#define ETIMEDOUT   260
#define ECONNREFUSED   261
#define EHOSTDOWN   264
#define EHOSTUNREACH   265
#define EBADPOLICY   530
#define SOCKET_ERROR   -1

Enumerations

enum  TCP_STATES {
  CLOSED = 0,
  LISTEN = 1,
  SYN_SENT = 2,
  SYN_RECEIVED = 3,
  ESTABLISHED = 4,
  CLOSE_WAIT = 5,
  FIN_WAIT_1 = 6,
  CLOSING = 7,
  LAST_ACK = 8,
  FIN_WAIT_2 = 9,
  TIME_WAIT = 10,
  INVALID = 20
}
 

TCP socket states.

More...
enum  DNS_RESOLVER_ERRORCODES { ,
  DNS_ERROR_RESOURCE_LACK = -2,
  DNS_ERROR_SERVERS_UNREACHABLE = -3,
  DNS_ERROR_NO_RESOLUTION = -4
}
 

DNS resolver error codes.

More...





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:38 2017 by Doxygen 1.6.1