NF_STATUS nf_srv_tcpSetConnectionState(ENDPOINT_ID id, BOOL suspended)
NF_STATUS_SUCCESS on success, or other NF_STATUS error code on fail.
The library automatically suspends the connections having large amount of data in send or receive buffers, to avoid wasting memory when the network application 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 |