Prosoft-technology MVI69-ADMNET Instrukcja Użytkownika Strona 113

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 122
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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 ));
Przeglądanie stron 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 121 122

Komentarze do niniejszej Instrukcji

Brak uwag