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

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

Komentarze do niniejszej Instrukcji

Brak uwag