Prosoft-technology MVI69-ADMNET Manual de usuario Pagina 113

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 122
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 112
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
String
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 ));
Vista de pagina 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 121 122

Comentarios a estos manuales

Sin comentarios