To achieve effective data transfer mechanism, I need to find out how many bits can fill up a network link.
Let me explain the situation, Once I send a data(application protocol) it will reply a ACK after it process the data (in application layer) . If the RTT is high (Like 500 ms RTT) it takes too much time to send a ACK back. Until the ACK is received data will not being sent and it is in idle mode. To rectify the situation , I need to flight some data in-between intervals.
So I decide to transfer the data until the bandwidth delay product value(how many bits can fill up a network link) is exhaust by sent data size
BDP = Bandwidth(bits per sec) x RTT ( in secs)
.
How to find the network bandwidth of the device. Is there any Windows API or other ways to finds the bandwidth of link ?
PS : I am newbie to network programming