Microchip® Advanced Software Framework

tstrSocketListenMsg Struct Reference

Socket listen status.

Socket listen information is returned through this structure in response to the asynchronous call to the @ref listen function.
This structure together with the event @ref SOCKET_MSG_LISTEN are passed-in parameters to the callback function.
See Also
listen

#include <socket.h>

Data Fields

sint8 status
 

sint8 tstrSocketListenMsg::status

Holding a value of ZERO for a successful listen or otherwise a negative error code corresponding to Error Codes.

Referenced by m2m_ip_cb(), and prov_socket_cb().