lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] PCB Stops accepting connections


From: Sergio R. Caprile
Subject: Re: [lwip-users] PCB Stops accepting connections
Date: Wed, 31 Jan 2018 13:47:48 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

Well, there is no magic there.
You should be able to first determine if your Ethernet frames are arriving to your device and then being delivered to lwIP. Then you can check What exactly are you doing with your PCBs ? You know a TCP connection stays open for some time after you close it, do you ? If you happen to open and close all of them, you'll have some time with no one left.
Does it recover after some time ?
Do pings get answered back ?
Are connections rejected ? Is your error callback called ? (Sorry, I'm guessing you are using the RAW API; I already guessed you are using an OS)
Are you properly freeing pbufs ? (Sorry, guessing again)



reply via email to

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