NF_STATUS nf_tcpClose(ENDPOINT_ID id)
NF_STATUS_SUCCESS on success, or other NF_STATUS error code on fail.
The driver cancels all pending send and receive requests and aborts the connection. For graceful disconnect call nf_tcpPostSend and nf_tcpPostReceive with zero length buffer after receiving the calls NF_EventHandler::tcpSend and NF_EventHandler::tcpReceive with zero buffer.