AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE User's Guide Page 178

  • Download
  • Add to my manuals
  • Print
  • Page
    / 316
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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()
Page view 177
1 ... 177 178 179 ... 316

Comments to this Manuals

No comments