in 1.3.2, as in 2.0.2 there was a split
between link and netif.
Sorry to have bothered you with such a rookie mistake...
(Now I have still problem with reset packages for the n+1 connections...
But this time I will debug more before posting...)
On 4 August 2017 at 11:55, Tony <tony.schin
wrong?
_tcppcb = tcp_new();
...
tcp_bind(_tcppcb, IP_ADDR_ANY, _port);
// tcp deallocates _pcb, see wiki of lwIP
struct tcp_pcb * listen_pcb = tcp_listen(_tcppcb);
...
_tcppcb = listen_pcb;
tcp_accept(_tcppcb, _netsrv_accept_cb);
On 4 August 2017 at 11:43, Tony <tony.schinkow...@gmail.com>
One more observation from a debugging session (with n=2) with these settings
#define MEMP_NUM_TCP_PCB2
#define MEMP_NUM_TCP_PCB_LISTEN 2
(Hex numbers are addresses of pcbs or lpcbs)
Two listening lpcb initially:
0xb78c
0xb76c
The first two connections use the following
On 3 August 2017 at 21:16, goldsi...@gmx.de <goldsi...@gmx.de> wrote:
> Tony wrote:
>
>> The aim is to only allow n open TCP connection at a time, and reject all
>> further connection requests. This worked reasonably well in 1.3.2, but now
>> fails in 2.0.2
most grateful for any further hints, e.g. about things I
might have missed, typical errors when using LWIP, pointers to tutorials to
use, and so on!
Kindest regards,
Tony
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users