# FreeRTOS+TCP iperf3 server

**URL:** <https://forums.freertos.org/t/freertos-tcp-iperf3-server/9574>\
**Category:** Libraries\
**Created:** [April 20, 2020, 6:28am UTC](https://forums.freertos.org/t/freertos-tcp-iperf3-server/9574 "2020-04-20T06:28:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![swichu91](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@swichu91](https://forums.freertos.org/u/swichu91)\
**Post date:** [April 20, 2020, 6:28am UTC](https://forums.freertos.org/t/freertos-tcp-iperf3-server/9574/1 "2020-04-20T06:28:15Z")

</div>

Hi,

I am looking for iperf3 implementation using FreeRTOS+TCP. Link which can be found on the internet seem to be invalid. Is there any chance that you have sources stored somewhere and you can upload them again ?

Will be grateful for re-upload.

Regards  
Mateusz

---

<div class="post-metadata">

**Author:** ![htibosch](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/htibosch/32/62_2.png) [@htibosch](https://forums.freertos.org/u/htibosch)\
**Post date:** [April 20, 2020, 10:53am UTC](https://forums.freertos.org/t/freertos-tcp-iperf3-server/9574/2 "2020-04-20T10:53:56Z")

</div>

Hello Mateusz, please find attached the source code of the FreeRTOS+TCP iperf3 server:

[iperf\_task\_v3\_0d.zip](https://forums.freertos.org/uploads/short-url/wCqJ1HHRYnN67XN3chufVRW4IWV.zip) (7.3 KB)

I included a file ‘using\_iperf3.c’ that explains about the macro’s and how to start it up.

This code is not part of the official FreeRTOS release, it’s just a testing tool.

---

<div class="post-metadata">

**Author:** ![swichu91](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@swichu91](https://forums.freertos.org/u/swichu91)\
**Post date:** [April 20, 2020, 12:51pm UTC](https://forums.freertos.org/t/freertos-tcp-iperf3-server/9574/3 "2020-04-20T12:51:13Z")

</div>

Hi Hein,

Thank you very much for as always fast response 🙂 Have you tested implementation with iperf 3.7 version ? I am having some difficulties with UDP tests and TCP reverse. In both cases I am receiving invalid ‘skipcount’. Regular TCP tests are working as expected.

Thanks in advance  
Mateusz

---

<div class="post-metadata">

**Author:** ![htibosch](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/htibosch/32/62_2.png) [@htibosch](https://forums.freertos.org/u/htibosch)\
**Post date:** [April 20, 2020, 2:36pm UTC](https://forums.freertos.org/t/freertos-tcp-iperf3-server/9574/4 "2020-04-20T14:36:14Z")

</div>

Thanks for reporting back.  
I have only tried the 3.0 version, both in Windows and Linux.  
It is a long time ago that I tested with UDP.  
Regards, H

---

<div class="post-metadata">

**Author:** ![il\_ya](https://avatars.discourse-cdn.com/v4/letter/i/8edcca/32.png) [@il\_ya](https://forums.freertos.org/u/il_ya)\
**Post date:** [February 22, 2021, 11:28pm UTC](https://forums.freertos.org/t/freertos-tcp-iperf3-server/9574/5 "2021-02-22T23:28:04Z")

</div>

@htibosch What is the license status of this code? Is it distributed under the same MIT license as FreeRTOS kernel and libraries?

---

<div class="post-metadata">

**Author:** ![htibosch](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/htibosch/32/62_2.png) [@htibosch](https://forums.freertos.org/u/htibosch)\
**Post date:** [February 23, 2021, 2:54am UTC](https://forums.freertos.org/t/freertos-tcp-iperf3-server/9574/6 "2021-02-23T02:54:18Z")

</div>

Good question! It only had a short explanation of how it works.

I suppose that you use [this version](https://github.com/htibosch/freertos_plus_projects/blob/master/plus/Common/Utilities/iperf_task_v3_0d.c)?

I just inserted a header, equal to the ones found in other FreeRTOS products.  
Note that iperf\_task\_xx is only there for testing and for demo purposes.

For those who never used it, see [using\_iperf3.c](https://github.com/htibosch/freertos_plus_projects/blob/master/plus/Common/Utilities/using_iperf3.c), which shows a sample configuration.

---

<div class="post-metadata">

**Author:** ![il\_ya](https://avatars.discourse-cdn.com/v4/letter/i/8edcca/32.png) [@il\_ya](https://forums.freertos.org/u/il_ya)\
**Post date:** [February 23, 2021, 11:09am UTC](https://forums.freertos.org/t/freertos-tcp-iperf3-server/9574/7 "2021-02-23T11:09:13Z")

</div>

That’s awesome, thank you Hein.
