Dunno about the app that you're trying to work with. I'd be happy to look at it though, any chance that it's downloadable from somewhere?
On the other side, you might want to look into WiFi Hopper - it'll do a LOT more than just connect to a LAN. It's not a freebie, but I think it's well worth the $35. And yes, it embeds well into CF.