Syntax
void RegSocketCallbackSc(
tpfAppSocketCb pfAppSocketCb,
tpfAppResolveCb pfAppResolveCb
);
Parameters
- pfAppSocketCb
- [in] Specify the socket callback function of tpfAppSocketCb type.
- pfAppResolveCb
- [in] Specify the DNS name resolution callback function of tpfAppResolveCb type.
Return value
None
Remarks
Register the callback functions for the asynchronous socket functions.The system of asynchronous socket functions returns the processing result of the request processed asynchronously to the user by calling these callback functions.
Requirements
Header file:
lib.hLibrary file:
libSTARTUPOPH5000.a
Sample
Last updated: 2020/11/26