wifi manager written in c language