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

     PPCSNDCNT(<nHandle>) --> nBytes

     Netware: 2.2 and 3.11

 Argument

     <nHandle>  Designates the communication sending buffer.

 Returns

     PPCSNDCNT() returns the number of characters in the specified
     communication sending buffer.  If an error occurs (for example, if the
     handle is invalid), the function returns -1.

 Description

     PPCSNDCNT() determines the number of characters in the sending buffer of
     a specified communication buffer, independently of the protocol used
     (IPX, SPX, NetBIOS datagram, or NetBIOS session).  It allows you to
     check to see if data written to the buffer has already been sent.

 Example

     Write characters into the receiving buffer, and wait until the
     characters have been sent:

     PPCWRITE(nHandle,cData)
     WHILE PPCSNDCNT(nHandle)>0
     ENDDO

See Also: PPCREAD() PPCRECCNT()

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