Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#46 Iperf problem solved on satellite connection‏

open
nobody
None
5
2011-09-06
2011-09-06
Pierluigi
No

Using it on a satellite connection i found almost impossible from a client to get the report from the server at the end of a session , the message is
(WARNING: ack of last datagram failed after 10 tries.)

To solve the problem i modified the following files
Server.cpp
Client.cpp

.......
timeout.tv_sec = 4; //Pierluigi: was 0, to solve no akn problem for satellite network
timeout.tv_usec = 0;
.......

I increased the timeout by 4 seconds (probably can also be smaller) , it was just 250ms that due to the satellite path is was too small.
(on my satellite connection the average time for a ping is 1 second)

Now i always receive the server report at the end of the test.

Best regards
Pierluigi

Discussion