[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Missing SOL_TCP?
From: |
Grant Edwards |
Subject: |
Re: [lwip-users] Missing SOL_TCP? |
Date: |
Wed, 13 Apr 2022 14:56:49 -0000 (UTC) |
User-agent: |
slrn/1.0.3 (Linux) |
On 2022-04-13, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> It appears that there is code in lwip_getsockopt_impl to handle
> setting tcp keepalive values via the keys TCP_KEEPIDLE, TCP_KEEPINTVL,
> and TCP_KEEPCNT.
>
> Using the Berekely socket API, these are set via calls to setsocktopt():
>
> setsockopt(s, SOL_TCP, TCP_KEEPxxxx, &n, sizeof n);
Or is "SOL_TCP" something unique to Linux?
--
Grant