Zilog EZ80F91GA Manual do Utilizador Página 113

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 127
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 112
UM024502-1012 ZGATE Logging Page
ZGATE Embedded Security Development Kit
User Manual
101
inet_pton
Function Prototype
INT8 inet_pton( INT8 af, const char *src, unsigned char *dst );
Parameters
af Address family; only AF_INET (1) is supported.
src A pointer to the IP address string in dotted decimal format.
dst A pointer to an INT32 where the network format of the IP address
will be stored.
Return Value
TRUE src was successfully converted to network format.
FALSE src contains an invalid address.
Description
This function converts an IP address in presentation (printable string) format into network
format.
ZTP applications can also use the
UINT32 name2ip( char * pAddrString ) API to
obtain the 32-bit IPv4 address corresponding to the dotted decimal
(pAddrString
parameter (or domain name).
Vista de página 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 126 127

Comentários a estes Manuais

Sem comentários