Syntax
unsigned int nmi_inet_addr(
char *pcIpAddr
);
Parameters
- pcIpAddr
- [in] Specify the IP address as an ASCII code string.
Separate the numbers with (periods).
Example:"123.45.67.89"
Return value
Returns the IP address if the function succeeds, 0 otherwise.Remarks
Converts the IP address string to a number.Requirements
Header file:
lib.hLibrary file:
libSTARTUPOPH5000.a
Sample
Last updated: 2020/11/26