lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] TCP connetion number limit


From: Frédéric Grandjean
Subject: Re: [lwip-users] TCP connetion number limit
Date: Fri, 12 Feb 2016 14:27:27 +0000

Hi,
You'll need to increase the number of simultaneous TCP connection 
MEMP_NUM_TCP_PCB = 4 or more.
When the 4th arrives, it WILL begin to be accepted, so you need it.

Then you can discard it.

Best regards
Frédéric Grandjean


-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of R&S_Roberto 
Chierichetti
Sent: vendredi 12 février 2016 14:05
To: address@hidden
Subject: [lwip-users] TCP connetion number limit

Hi,

I'm using lwIP version 1.4.0 on an AVR32 microcontroller.
In my application I need to keep opened up to three TCP connection on the same 
TCP port.
If a 4th connection arrives, while all the other three are already opened,  
this connection have to be discarded keeping active alle the three existing 
connections.

What happens now on my system is that when the 4th connection arrives, one of 
the three existing is automatically closed, and the 4th is activated.

How I can avoid this ???

I'm currently using BSD socket layer, and I've set MEMP_NUM_TCP_PCB = 3.

Thank you





_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]