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>ppcsndfail()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PPCSNDFAIL()
 Determines the number of packets sent with failure
------------------------------------------------------------------------------
 Syntax

     PPCSNDFAIL(<nHandle>) --> nPackets

     Netware: 2.2 and 3.11

 Argument

     <nHandle>  Designates the communication sending buffer.

 Returns

     PPCSNDFAIL() returns the number of packets sent with failure since the
     buffer has been opened.  If an error occurs (for example, if the handle
     is invalid), the function returns -1.

 Description

     PPCSNDFAIL() determines the number of packets sent with failure,
     independently of the protocol used (IPX, SPX, NetBIOS datagram, or
     NetBIOS session).  A faulty packet at an SPX or NetBIOS session
     connection can be a packet for which the receipt has not been
     acknowledged by the remote station.  If a value of 65535 packets has
     been exceeded, the count starts again at 0.

 Example

     Check to see if packets have been sent with failure:

     IF PPCSNDFAIL(nHandle)>0
        ? 'Data integrity not guaranteed!'
     ENDIF

See Also: PPCSNDTOT()

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