AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE Guía de usuario Pagina 178

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 316
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 177
164
K
A
DAK
KwikNet Low Level Services
kn_ifstate kn_ifstate
Purpose Query the State of a Network Interface
Used by
n Task o ISP o Timer Procedure o Restart Procedure n Exit Procedure
Setup Prototype is in file KN_API.H.
#include "KN_LIB.H"
int kn_ifstate(KN_NETDP netdp);
Description Netdp is a network descriptor pointer, the KwikNet handle used to identify
the network interface of interest.
Returns If successful, one of the following constant values will be returned.
KN_NIFS_DOWN The network was down and unavailable for use.
KN_NIFS_TRANSIT The network was in the process of going up or down.
KN_NIFS_UP The network was up with a valid IP address.
On failure, the value -1 is returned.
Example See the example provided with the description of procedure kn_ifnext().
See Also kn_ifinfo(), kn_netstats()
Vista de pagina 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 315 316

Comentarios a estos manuales

Sin comentarios