lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] disconnect - connect delay


From: brak brak2
Subject: Re: [lwip-users] disconnect - connect delay
Date: Mon, 4 Apr 2011 08:10:22 +0200

> It will work if you refuse multiple connections from *different* IP
> addresses.  In the accept handler if the ip address is the same as the first
> accepted connection, allow it, otherwise refuse it.  I believe this is what
> you really want to do - refuse connections from different IP addresses, yes?
> Below acceptedPcb is the first pcb accepted and is set to NULL when the last
> connection closes.

No, I don't want to allow multiple connection even from the same IP
address. The browser tries to open multiple connections to speed up
downloading, but I can handle only one connection, because I use only
one receive buffer to save the RAM.



reply via email to

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