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> ipxbufcntget() / ipxbufcntset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 IPXBufCntGet() / IPXBufCntSet()
------------------------------------------------------------------------------
 Purpose:
 Get / set the number of buffers used for IPX.

 Syntax:
 ibuffers = IPXBufCntGet()
 ibuffers = IPXBufCntSet(10)

 Parameters:
 None.

 Returns:
 an integer value.

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

 IPXBufCntSet() 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 = IPXBufCntSet(8)
 inewbuf = IPXBufCntGet()
 ? "IPX system is now using ", inewbuf, "receive buffers"
 // now open IPX socketisocket = IPXSktOpn(NOVDEFINT)

 Notes:
 IPXBufCntSet() may only be called prior to calling
 IPXSktOpn().

See Also: IPXSktOpn() IPXEvtCntGet()

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