Prosoft-technology MVI69-ADMNET Manuel d'utilisateur Page 94

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 122
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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);
}
Vue de la page 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 121 122

Commentaires sur ces manuels

Pas de commentaire