 |
 |
 |
|
|  |  |
 |
inet_addr ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The inet_addr function converts a string containing an (Ipv4) Internet Protocol dotted address into a proper address for the IN_ADDR structure. |
 |  | | Code examples: |  | |
|
 |  | | Declaration: |  |  |
unsigned long inet_addr(
const char FAR *cp
);
|
 |  |  | | FoxPro declaration: |  |  |
DECLARE INTEGER inet_addr IN ws2_32;
STRING cp
|
 |  |  | | Parameters: |  | cp
[in] Null-terminated character string representing a number expressed in the Internet standard "."" (dotted) notation. |
 |  | | Return value: |  | | If no error occurs, inet_addr returns an unsigned long value containing a suitable binary representation of the Internet address given. Otherwise the function returns the value INADDR_NONE (0x7F000001). |
 |  | | Word Index links for the inet_addr : |  | |
|
 |  | | Translate this page: |  | |  |  | | • |  | | Created: | 2001-12-21 19:47:41 | | Modified: | 2001-12-21 19:50:06 | Visited in last 7 days: 45 |
|
 |
 |
 |
 |
Copyright © 2001-2013
News2News, Inc.
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Privacy policy
|
 |
 |
 |
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc. |
 |
 |
|
 |
 |
|
|