Prosoft-technology MVI69-ADMNET Manual de usuario Pagina 94

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 122
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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);
}
Vista de pagina 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 121 122

Comentarios a estos manuales

Sin comentarios