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

  • Download
  • Add to my manuals
  • Print
  • Page
    / 316
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 249
236
K
A
DAK
KwikNet PPP Option
...continued
Returns For operations which return a pointer to an authentication parameter in the
storage at *outbuf, an integer n is returned. The value of n reflects the
success or failure of the request.
n>=0 Length of the authentication parameter referenced by the
character pointer stored at *outbuf
n=-1
Authentication parameter is not available
For operation code KN_PPPAUTH_PPCHECK, an integer n is returned which
reflects the success or failure of the validity check requested.
n=1 The peer's PAP name and password are valid.
n=0 The peer's PAP name and password are NOT valid.
Restriction When called upon to authenticate the peer's name, this function does not
receive a network descriptor pointer. Parameter netdp is NULL. The
sample implementation of procedure kn_ppp_admin in file KN_PPPAA.C
unconditionally compares the peer name with that specified for the first
network interface described in array kn_ppp_auth[].
Page view 249
1 ... 249 250 251 ... 316

Comments to this Manuals

No comments