wpa_cli ping-pong and power management

Jouni Malinen j
Sat Nov 1 08:49:37 PDT 2008


On Sat, Nov 01, 2008 at 09:31:16AM +0200, Alon Bar-Lev wrote:

> I now can locate the select you mentioned.
> I tried to modify the code to recognize the disconnect and found that
> the control socket is dgram... So thee is no way  to know that the
> peer is down except trying to ping-pong.
> Will you accept an option to make the control socket stream?

Changing this is a bit difficult now due to deployed systems and client
applications depending on the current mechanism. Anyway, I would
probably be fine with a build time option to select a stream socket 

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list