NF_STATUS nf_srv_udpSetConnectionState(ENDPOINT_ID id, BOOL suspended)
NF_STATUS_SUCCESS on success, or other NF_STATUS error code on fail.
The library automatically suspends the sockets having large amount of data in send or receive buffers, to avoid wasting memory when the local process or remote server are too slow. The automatic suspending is temporary, and the library resumes indicating new packets after successful delivery of the buffered data.
Header | nfsrvapi.h |
Library | nfsrvapi.lib |