AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE Guida Utente Pagina 250

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 316
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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[].
Vedere la pagina 249
1 2 ... 245 246 247 248 249 250 251 252 253 254 255 ... 315 316

Commenti su questo manuale

Nessun commento