|int tfGetSendCompltBytes||(int socketDescriptor);|
This function is used to get the number of sent bytes that have been acked since the last call to tfGetSendCompltBytes() call by the peer on a TCP socket.
- The socket descriptor to check on the amount of bytes acked by the peer.
- >= 0
- The number of bytes that have been sent to and ACK'ed by the TCP peer.
|Note:|| TM_SOCKET_ERROR means that this socket call has failed and the errorCode has been set on the socket itself.
To retrieve the socket error the user must call tfGetSocketError(socketDescriptor).
Possible socket errors
- 'socketDescriptor' is not a valid descriptor.
- The socket is not a TCP socket.