Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> ipxbuffercountget() / ipxbuffercountset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 IPXBufferCountGet() / IPXBufferCountSet()
------------------------------------------------------------------------------
 Purpose:
 Get or set the number of buffers used for IPX.

 Syntax:
 ibuffers = IPXBufferCountGet()
 ibuffers = IPXBufferCountSet(10)

 Parameters:
 None.

 Returns:
 an integer value.

 The CA-Clipper names for these functions are:
 IPXBufCntGet() / IPCBufCntSet()

 Description:
 IPXBufferCountGet() returns the number of buffers that the IPX system
 will use for receiving IPX packets.

 IPXBufferCountSet() sets the number of buffers that will be used for IPX
 communications, up to a maximum of 32 buffers. If packets are being lost,
 the most probable cause is insufficient buffers - the default value of 4
 should be sufficient for most applications.

 Example:
 // To set the number of buffers to be used by IPX:
 // set number of IPX receive buffers
 ioldbuf = IPXBufferCountSet(8)
 inewbuf = IPXBufferCountGet()
 ? "IPX system is now using ", inewbuf, "receive buffers"
 // now open IPX socketisocket = IPXSocketOpen(NOVDEFINT)

 Notes:
 IPXBufferCountSet() may only be called prior to calling
 IPXSocketOpen().

See Also: IPXSocketOpen() IPXEventCountGet()

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