Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: NNN50_CE_Test_UDP NNN50_linux_firmware NNN50_SoftAP_HelloWorld NNN50_BLEWIFISensor ... more
Synchronous function which returns a BSD socket compliant Internet Protocol (IPv4) socket address. More...
Functions | |
| NMI_API uint32 | nmi_inet_addr (char *pcIpAddr) |
Detailed Description
Synchronous function which returns a BSD socket compliant Internet Protocol (IPv4) socket address.
This IPv4 address in the input string parameter could either be specified as a host name, or as a numeric string representation like n.n.n.n known as the IPv4 dotted-decimal format (i.e. "192.168.10.1"). This function is used whenever an ip address needs to be set in the proper format (i.e. for the tstrM2MIPConfig structure).
Function Documentation
| NMI_API uint32 nmi_inet_addr | ( | char * | pcIpAddr ) |
- Parameters:
-
[in] pcIpAddr A null terminated string containing the IP address in IPv4 dotted-decimal address.
- Returns:
- Unsigned 32-bit integer representing the IP address in Network byte order (eg. "192.168.10.1" will be expressed as 0x010AA8C0).
Generated on Wed Jul 13 2022 16:32:38 by
1.7.2