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

  • 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 75
Application Development Function Library - ADMNET API MVI-ADMNET 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module with Ethernet
Page 76 of 122 ProSoft Technology, Inc.
February 20, 2013
ADM_is_sk_open
Syntax
int ADM_is_sk_open(char *skName);
Parameters
skName
Name of the socket that has been initialized and used to receive data.
Description
ADM_is_sk_open tests if connection is still valid or not.
Return Value
SK_SUCCESS
Socket is successfully sent.
SK_NOT_FOUND
Socket could not be found.
SK_SOCKET_CLOSE
Socket is closed.
Example
char sockName1[ ] = "SendSocket";
if(ADM_is_sk_open(sockName1) != SK_SUCCESS) {
printf("Socket not Opened\n");
} else {
printf("Socket Opened\n");
}
Vue de la page 75
1 2 ... 71 72 73 74 75 76 77 78 79 80 81 ... 121 122

Commentaires sur ces manuels

Pas de commentaire