> > >cyg_ppp_wait_up() >
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"> REL="HOME"
TITLE="eCos Reference Manual"
HREF="ecos-ref.html"> REL="UP"
TITLE="PPP Interface"
HREF="ppp-interface.html"> REL="PREVIOUS"
TITLE="cyg_ppp_down()"
HREF="ppp-down.html"> REL="NEXT"
TITLE="cyg_ppp_wait_down()"
HREF="ppp-wait-down.html"> > CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
> CLASS="NAVHEADER"
> SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
> > COLSPAN="3"
ALIGN="center"
>eCos Reference Manual > > > WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
> HREF="ppp-down.html"
ACCESSKEY="P"
>Prev > > WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
> > WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
> HREF="ppp-wait-down.html"
ACCESSKEY="N"
>Next > > > > ALIGN="LEFT"
WIDTH="100%"> > > NAME="PPP-WAIT-UP"
> >cyg_ppp_wait_up() > CLASS="REFNAMEDIV"
> NAME="AEN13503"
> > >Name >cyg_ppp_wait_up -- Wait for PPP connection to come up > CLASS="REFSYNOPSISDIV"
> NAME="AEN13506"
> > >Synopsis > CLASS="FUNCSYNOPSIS"
> > > NAME="AEN13507"
> > BORDER="5"
BGCOLOR="#E0E0F0"
WIDTH="70%"
> > > CLASS="FUNCSYNOPSISINFO"
>#include <cyg/ppp/ppp.h>
> > > > > > CLASS="FUNCDEF"
>cyg_int32 cyg_ppp_wait_up >(cyg_ppp_handle_t handle); > > > > > > CLASS="REFSECT1"
> NAME="AEN13514"
> > >Description > >This function waits until the PPP connection is running and then
returns. This is needed because the actual bring up of the connection
happens mostly after the call to CLASS="FUNCTION"
>cyg_ppp_up() >
returns, and may take some time to complete, especially if dialling a
remote server. > >The result of this call will be zero when the connection is running,
or -1 if the connection failed to start for some reason. If the
connection is already running when this call is made it will return
immediately with a zero result. If the connection is not in the
process of coming up, or has failed, or has terminated, then a result
of -1 will be returned immediately. Thus this function may also be
used to test that the connection is still running at any point. > > CLASS="NAVFOOTER"
> ALIGN="LEFT"
WIDTH="100%"> SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
> > WIDTH="33%"
ALIGN="left"
VALIGN="top"
> HREF="ppp-down.html"
ACCESSKEY="P"
>Prev > > WIDTH="34%"
ALIGN="center"
VALIGN="top"
> HREF="ecos-ref.html"
ACCESSKEY="H"
>Home > > WIDTH="33%"
ALIGN="right"
VALIGN="top"
> HREF="ppp-wait-down.html"
ACCESSKEY="N"
>Next > > > > WIDTH="33%"
ALIGN="left"
VALIGN="top"
>cyg_ppp_down() > WIDTH="34%"
ALIGN="center"
VALIGN="top"
> HREF="ppp-interface.html"
ACCESSKEY="U"
>Up > > WIDTH="33%"
ALIGN="right"
VALIGN="top"
>cyg_ppp_wait_down() > > > > > >