Re: A possible case of TCP server no-response, was: Re: bufs lost in TCP connection establishment
On Thu, 15 Sep 2016 02:51:49 -0000
"Flavio Santes" <flavio.santes(a)intel.com> wrote:
One particularly naughty conditions I experienced is that while my
This is a hardware-agnostic issue, see:Thanks, I read it, but not sure it's the same issue as I described
above - indeed, there're many different issues. I checked into Z source,
and found that it actually tries to make a random local port number (if
user passed one as 0). But Wireshark still shows that after a restart,
1025 is what gets actually sent on wire, and the situation got pretty
unpleasant when I moved from local servers to knocking on AWS IoT ones,
which, well, I can't restart.
So, digging further, turned that Zephyr networking layer and uIP live
their own separate lives wrt to local port numbering.
https://gerrit.zephyrproject.org/r/#/c/4823/ makes them talk together,
though on uIP's terms (using global variables). As patch description
says, I'm open to suggestions to redo it via adding function arguments.
Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog