[in] Event handler function address.
This function must be declared as HNFN_LBUDPPKTRECEIVE.
Param
[in] Event handler parameter. This parameter is sent to the event handler each time it is called.
Return values:
If the function succeeds the return value will be the value of the pfOnUdpPacketReceive parameter.
Description:
Use LbAdpSetOnUdpPacketRecv to set the address and the parameter value for the OnUdpPacketReceive
event handler. OnUdpPacketReceive event handler is called by HNLBAdapter
component when an application sends or receives data (e.g. using Sendto or WSASendTo
sockets functions).