Microchip® Advanced Software Framework

http_client_data_sock_connected Struct Reference

Structure of the HTTP_CLIENT_CALLBACK_SOCK_CONNECTED callback.

#include <http_client.h>

Data Fields

int result
 Result of operation. More...
 

int http_client_data_sock_connected::result

Result of operation.

Returns
-ENOENT No such address.
-EINVAL Invalid argument.
-ENOSPC No space left on device.
-EIO Device was occurred error due to unknown exception.
-EDESTADDRREQ Destination address required.
-ECONNRESET Connection reset by peer.
-EAGAIN Try again.
-EBUSY Device or resource busy.
-EADDRINUSE Address already in use.
-EALREADY Socket already connected.
-ENOTCONN Service in bad state.
-ECONNREFUSED Connection refused.
-EOVERFLOW Value too large for defined data type.
-EBADMSG Not a data message.

Referenced by http_client_socket_event_handler().