How can I get the default interface IP in C? I want a string of the form "192.168.1.1" for the default interface of the local host. thanks, james