I have the following problem, i have a program that transmits data between two hosts in LAN. The program works perfectly so far but my problem is the following, how do i achieve the best speed possible? I mean i am trying various combinations such as the time between packets, the size of the packets and the buffer size, but it seems impossible to find the ideal point between these three variables. If i put too small pauses between the packets, i get an error, if i put a way too large buffer, i get an error. Any suggestions and ideas are welcome (or if your reference some sources that would be cool too).
Side note: So far the best i can do is 137MB in just under half a minute (on average). Is that a satisfying speed?
Thanks in advance!