I am writing an application in C using socket programming. I want to send data from a node server to a node client. I use read and write commands in the socket descriptor to receive and send data over the network, respectively. Since TCP / IP is used as the base protocol, I finally get the correct data. Is it possible to check on the client side that it is correct to receive data, how many packets were actually lost and retransmitted? I am writing this application in a Linux environment (debian).
Any help is much appreciated!
-Rahulkumar
source share