05-10-2013 02:29 AM
I am useing the instruction from the below site to listen for network status changes, but m not able to figure out what is the problem with the code;
There are 2 problems basically;
1. I am using bps_get_event(&event, -1) to listen for events, for the first time this call returns even if there is no change in netork.
2. For the second time the same call causes the segmentation fault.