The function performs the necessary initializations for the socket library through the following steps:
Functions | |
NMI_API void | socketInit (void) |
NMI_API void socketInit | ( | void | ) |
This example demonstrates the use of the socketinit for socket initialization for an mqtt chat application.
References gbSocketInit, gu16SessionID, hif_register_cb(), m2m_ip_cb(), m2m_memset(), M2M_REQ_GROUP_IP, and MAX_SOCKET.
Referenced by main(), NMI_GrowlInit(), and wifi_ap_provision().