CPS_Resolve

C Specification

#include <nitroWiFi/cps.h>
CPSInAddr CPS_Resolve(const char *name);

Arguments

name Name.

Return Values

IP address

Description

Queries the DNS server, and changes the name to IP address. Because the name will not be cached, cache the name in the application if necessary. Because this function uses UDP, it cannot be used if the state is already CPS_SocUse. CPS_SocRegister must be executing. This blocks.

See Also

CPS_SocRegister, CPS_SocUse, CPS_RevResolve

Revision History

11/09/2005 Added 'const' to 'name.'
10/21/2005 Initial version.