I know the purpose of wget but dont know how it can be written in c.
please help.