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>ppccancel()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PPCCANCEL()
 Closes the communication handle and the connected buffers
------------------------------------------------------------------------------
 Syntax

     PPCCANCEL(<nHandle>) --> lSuccess

     Netware: 2.2 and 3.11

 Argument

     <nHandle>  Designates the handle of the communication buffer that is
     closed.

 Returns

     PPCCANCEL() returns .T. if the communication buffer has been closed
     successfully.  If an error occurs, the function returns .F..

 Description

     PPCCANCEL() allows you to close any communication buffer, independently
     of the protocol used (IPX, SPX, NetBIOS datagram or NetBIOS session).
     The handle of the selected communication buffer must be passed to
     PPCCANCEL().  PPCCANCEL() uninstalls the procedures for interrupt
     controlled sending and receiving and releases allocated memory.  When
     PPCCANCEL() is called, all data in the sending or receiving buffer is
     lost.  After a call of PPCCANCEL(), <nHandle> is invalid.

 Example

     Open and close the communication buffer:

     nHandle=IPXOPEN(20000,546)
     // ...
     // Using the communication buffer ....
     // ...
     // Close communication buffer
     PPCCANCEL(nHandle)

See Also: CLOSESOCK() NBDELNAME()

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