|
From: | address@hidden |
Subject: | Re: [lwip-users] How to enable KEEP-ALIVE |
Date: | Tue, 13 Dec 2011 21:59:35 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
Kieran Mansley wrote:
It's part of the sockets API so there isn't a supported way to set it via the raw API, but you can probably get what you want by doing pcb->so_options |= SOF_KEEPALIVE; In general modifying pcb fields directly is discouraged but in this case there isn't an easy alternative. We should probably add a function to allow users to set these options in a supported manner.
We definitively should! I added a bug entry targeted to 1.4.1 to do so. Simon
[Prev in Thread] | Current Thread | [Next in Thread] |