1.2.8.12 WDRV_WINC_SocketRegisterEventCallback Function

C

WDRV_WINC_STATUS WDRV_WINC_SocketRegisterEventCallback
(
DRV_HANDLE handle,
tpfAppSocketCb pfAppSocketCb
)

Summary

Register an event callback for socket events.

Description

Socket events are dispatched to the application via this callback.

Precondition

None.

Parameters

ParamDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
pfAppSocketCbFunction pointer to event callback handler.

Returns

WDRV_WINC_STATUS_OK - Callback registered.

WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.