| DWORD InetGetAddress(
|
|
|
LPCTSTR
lpszAddress |
|
| );
|
The InetGetAddress function converts an IP address
expressed in "dotted" notation to a 32-bit integer.
Parameters
- lpszAddress
- IP address string in dotted notation.
Return Value
If the function succeeds, the return value is the 32-bit integer
representation of the IP address. If the function fails, the return
value is INET_ADDRESS_NONE. To get extended error information, call
InetGetLastError.
Requirements
Client: Requires Windows Vista, Windows XP or Windows
2000 Professional.
Server: Requires Windows Server 2008, Windows Server 2003 or
Windows 2000 Server.
Header: Include cswsock6.h.
Library: Use cswskav6.lib.
Unicode: Implemented as Unicode and ANSI versions.
See Also
InetFormatAddress
|