Prosoft-technology MVI69-ADMNET Manual do Utilizador Página 94

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 122
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 121 122

Comentários a estes Manuais

Sem comentários