AnsweredAssumed Answered

FRDM-K64F lwip tcp echo

Question asked by roymessinger on Apr 21, 2017
Latest reply on Jun 10, 2017 by roymessinger

Doing my first steps with the lwip source code, I've tried running the bm source demo of the tcp echo from the ksdk. What I don't understand is that in the overview it is written:

"...The application sends back the received TCP packets from the PC, which can be used to test whether a TCP connection is available."

But at the end, when running the demo I'm receiving just this:

Reply from 192.168.0.102:7, time 0 ms OK
Reply from 192.168.0.102:7, time 0 ms OK
Reply from 192.168.0.102:7, time 0 ms OK
Reply from 192.168.0.102:7, time 0 ms OK
Reply from 192.168.0.102:7, time 0 ms OK

 

But in the demo I'm sending:

echotool 192.168.0.102 /p tcp /r 7 /d hello

So, how come I'm not receiving the hello word? No matter what I'm writing to the echo tool, I'm always receiving the same 5 lines. I thought I should receive the hello, or any other word I'm sending (isn't this what echo server mean?).

What am I missing here?

Outcomes