Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>ppcconact()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PPCCONACT()
 Checks for an active communication connection
------------------------------------------------------------------------------
 Syntax

     PPCCONACT(<nHandle>) --> lAktive

     Netware: 2.2 and 3.11

 Argument

     <nHandle>  Designates a communication handle that identifies the
     communication buffer.

 Returns

     PPCCONACT() returns .T. if <nHandle> specifies an active connection.  If
     an inactive connection occurs, the function returns .F..

 Description

     PPCCONACT() is used mainly in conjunction with session- oriented
     protocols (SPX or NetBIOS session).  PPCCONACT() allows you to determine
     if a connection has been set up after the call of a function that waits
     for a connection setup in the background: for example, SPXLISTCON() or
     BSLISTCON().  You can also check to see if a connection is still active.
     If an error occurs (for example, if a connection has been canceled), the
     function returns .F..

 Note

     .  When used for IPX or NetBIOS datagram connections, PPCCONACT()
        always returns .T..

 Example

     Wait for an SPX connection setup:

     nHandle=SPXLISTCON(20000,1000)
     WHILE .NOT. PPCCONACT(nHandle)
     ENDDO

See Also: NBSLISTCON() SPXLISTCON()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson