daveoffy 0 Newbie Poster

I have been working with popen to run iwlist and get essid from the output but that is making the code sloppy. Is there an API I could use instead to get SSID and other information?

Iwlist is in the package wireless-tools in linux

Thanks.