Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jp23

macrumors newbie
Original poster
Jan 22, 2010
1
0
Hi Everybody!
It's my first post here, so be gentle :). I just started writing (porting) my application on Mac OS X in C++ with Qt 4.5. This app use network to communication. Everything works just fine on Mac, but I have one problem (I'm total noob on Mac). I already use I/O Kit to detect user activity (source code from web), but I can't find anything to detect network disconnection (wi-fi / ethernet). If anyone can write for me code or show how to do that, in c/c++ to detect network connection/disconnection i'll be very happy! Please help.

Best regards
J.P.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.