Interprets str as a ``dotted-decimal'' representation of an IP host and assigns the fields of host accordingly. The operation fails if str does not seem to be in dotted-decimal form.
XkReturn str2ipHost(IPhost *host, char *str)