Prosoft-technology MVI69-ADMNET Manual do Utilizador Página 113

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 122
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 121 122

Comentários a estes Manuais

Sem comentários