
MVI-ADMNET ♦ 'C' Programmable WATTCP API Functions
'C' Programmable Application Development Module with Ethernet Developer's Guide
ProSoft Technology, Inc. Page 113 of 122
February 20, 2013
inet_addr
Syntax
longword * inet_addr( char *String);
Parameters
Array of character string.
Description
This function converts string dot address to host format.
Return Value
Host IP address format.
Example
char buffer[ ] = "192.168.0.1";
sock_init();
printf("My IP address is %ld\n", inet_addr( buffer ));
Komentarze do niniejszej Instrukcji