QSocketNotifier code compliment

George S. Lockwood gslockwood at gmail.com
Tue Aug 15 18:04:20 EDT 2006


How can I replace the following code in a Visual Studio C++ project?

    msgNotifier = new QSocketNotifier(wpa_ctrl_get_fd(monitor_conn),
				      QSocketNotifier::Read, this);
    connect(msgNotifier, SIGNAL(activated(int)), SLOT(receiveMsgs()));

this code comes from the wpagui.ui.h file that is included in with the
wpa_supplicant code downloads in the wpa_gui folder.


It looks like there is a thread and / or perhaps an event involved
here and I can recognize the receiveMsgs as the callback...

Some sample code would be GREAT!!

thanks so much!



More information about the HostAP mailing list