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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 122
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 92
MVI-ADMNET 'C' Programmable WATTCP API Functions
'C' Programmable Application Development Module with Ethernet Developer's Guide
ProSoft Technology, Inc. Page 93 of 122
February 20, 2013
sockerr
Syntax
char *sockerr ( sock_type *skType );
Parameters
skType
Current socket Type that will be used to check the connection.
Description
This function returns ASCII error message if there is any. Otherwise, NULL is
returned.
Return Value
String message or NULL if there is no error.
Example
sock_type *socket;
char *p;
. . .
if(p = sockerr(socket) != NULL)
{
printf("Error: %s\n", p);
}
Przeglądanie stron 92
1 2 ... 88 89 90 91 92 93 94 95 96 97 98 ... 121 122

Komentarze do niniejszej Instrukcji

Brak uwag