1.1.8.12 WDRV_WINC_SocketRegisterEventCallback Function

WDRV_WINC_STATUS WDRV_WINC_SocketRegisterEventCallback (

DRV_HANDLE handle,

C

tpfAppSocketCb pfAppSocketCb

)

Summary

Register an event callback for socket events.

Description

Socket events are dispatched to the application via this callback.

Precondition

None.

Parameters

Param

Description

handle

Client handle obtained by a call to WDRV_WINC_Open.

pfAppSocketCb

Function pointer to event callback handler.

Returns

WDRV_WINC_STATUS_OK - Callback registered.

WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.