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>ppcrecfree()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PPCRECFREE()
 Determines the number of free characters in a communication receiving buffer
------------------------------------------------------------------------------
 Syntax

     PPCRECFREE(<nHandle>) --> nBytes

     Netware: 2.2 and 3.11

 Argument

     <nHandle>  Designates the communication receiving buffer.

 Returns

     PPCRECFREE() returns the free memory in the specified communication
     receiving buffer in bytes.  If an error occurs (for example, if the
     handle is invalid), the function returns -1.

 Description

     PPCRECFREE() determines the number of characters that are still free in
     the receiving buffer of the specified communication buffer,
     independently of the protocol used (IPX, SPX, NetBIOS datagram, or
     NetBIOS session).

 Example

     Read the buffer if less than 5460 characters are free:

     nCharacter=PPCRECFREE(nHandle)
     IF nCharacter<5460
        cData=PPCREAD(nHandle)
     ENDIF

See Also: PPCREAD() PPCSNDFREE()

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