> 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.

_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to