Updated: October 28, 2024 |
Inform NET MGR about a connected interface
#include <qwf/qwf_net.h>
qwf_net_Results_e qwf_net_Connect(qwf_Context_t *pCtx, qwf_net_ConnectData_t *pData)
This function informs NET MGR about a connected and available network interface. After an application creates an interface with ifconfig, it can use this same utility to obtain the interface's networking parameters, and then provide them to qwf_net_Connect().
NET_OK Successful result
NET_ERR_INACTIVE The QWF Network Manager service is inactive or not ready
NET_ERR_INT The QWF Network Manager service couldn't issue the request or read the response
NET_ERR_PARAM A pointer argument is NULL or the QWF Network Manager context can't be retrieved