[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] pppSigHUP() or pppClose() ?
From: |
Paul Archer |
Subject: |
Re: [lwip-users] pppSigHUP() or pppClose() ? |
Date: |
Fri, 2 Sep 2011 13:24:49 +1000 |
On Fri, Sep 2, 2011 at 12:34 PM, narke <address@hidden> wrote:
> Can I understand so: after I detected the the physical line has
> dropped (no carrier signal from the modem in my case), I should call
> pppSigHUP(), and should not call pppClose() after that. Is this
> right?
Correct. If you can't send PPP packets any more because the line has
dropped out, call pppSigHUP().
If you can still send PPP packets, but you want to shutdown the
connection, call pppClose()
--
----
Regards
Paul Archer
address@hidden