[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] tcp echo example
From: |
Sergio R. Caprile |
Subject: |
Re: [lwip-users] tcp echo example |
Date: |
Fri, 01 Aug 2014 15:35:44 -0300 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Hi,
when you say "echo example", do you mean the echo example in the contrib
tree or some vendor distributed (and probably modified) file ?
'cause i've run the echo example from the 1.4.1 contrib tree some weeks
ago and I don't recall seeing anything strange.
And btw, I don't see anything close to what you are describing in that
code, and there is only one tcp_write() call in echo.c:
address@hidden ~]$ grep -n tcp_write
programming/lwip/contrib/apps/tcpecho_raw/echo.c
311: wr_err = tcp_write(tpcb, ptr->payload, ptr->len, 1);
BTW, if you want to really test the net throughput (or at least come
closer) get the netio patch: https://savannah.nongnu.org/patch/?7026
Regards
--