nf_completeUDPConnectRequest
Complete UDP connect request pended using flag NF_PEND_CONNECT_REQUEST in udpConnectRequest event.
NF_STATUS nf_completeUDPConnectRequest(ENDPOINT_ID id, PNF_UDP_CONN_REQUEST pConnInfo)
Parameters
- id
- Connection identifier
- pConnInfo
- Pointer to NF_UDP_CONN_REQUEST structure
Return Values
NF_STATUS_SUCCESS on success, or other NF_STATUS error code on fail.
Remarks
The associating some remote address with UDP socket can be pended in udpConnectRequest by specifying the flag NF_PEND_CONNECT_REQUEST in NF_UDP_CONN_REQUEST.filteringFlag.
In this case the operation must be continued later from any thread using nf_completeUDPConnectRequest.
If the flag NF_PEND_CONNECT_REQUEST is specified, nf_completeUDPConnectRequest cannot be called from udpConnectRequest event.
Requirements
Driver type |
WFP, TDI
|
Header |
nfapi.h
|
Library |
nfapi.lib |