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>ppcsnderr()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PPCSNDERR()
 Determines the error code of the most recent sending process
------------------------------------------------------------------------------
 Syntax

     PPCSNDERR(<nHandle>) --> nErrorCode

     Netware: 2.2 and 3.11

 Argument

     <nHandle>  Designates the communication sending buffer.

 Returns

     PPCSNDERR() returns the error code of the most recent sending process
     for the specified sending buffer.  If the packet has been sent
     successfully, the function returns 0.  If an error occurs (for example,
     if the handle is invalid), the function returns -1.

 Description

     PPCSNDERR() allows you to determine the error code of the most recent
     sending operation, independently of the protocol used (IPX, SPX, NetBIOS
     datagram, or NetBIOS session).  The values are returned directly by the
     IPX/SPX or NetBIOS driver, so the return value depends on the type of
     the receiving buffer.  There is a description of the error codes for the
     IPX/SPX communication buffer and for the NetBIOS communication buffer in
     Appendices D and E.

 Example

     Check to see if the last packet has been sent successfully:

     IF PPCSNDERR(<nHandle>) = 0
        ? 'Packet has been sent successfully!'
     ELSE
        ? 'Error!'
     ENDIF

See Also: IPXERROR() NBERROR()

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