multiple instances, each for a different interface

Jouni Malinen j at w1.fi
Mon Dec 28 06:32:59 PST 2015


On Mon, Dec 28, 2015 at 03:08:25PM +0100, Ireneusz Szcześniak wrote:
> I wonder, however, how a single non-threaded process is able to
> handle two APs.  I guess it must be using some non-blocking
> operations.

The hostapd (and wpa_supplicant, for that matter) design uses an event
loop mechanism (src/utils/eloop*.c) and non-blocking sockets.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list