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> ipxeventcountget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 IPXEventCountGet()
------------------------------------------------------------------------------
 Purpose:
 Get the number of buffered IPX packets.

 Syntax:
 ipackets = IPXEventCountGet()

 Parameters:
 None.

 Returns:
 an integer value.

 The CA-Clipper names for this function is:
 IPXEvtCntGet()

 Description:
 IPXEventCountGet() returns the number of packets that NOVLIB has
 received that are waiting to be retrieved by the program.

 If the number of received packets is equal to the number of IPX buffers,
 this is an indication that packets may be lost and either the number of
 buffers should be increased or the program should check for incoming
 packets more frequently.

 Example:
 // To set the number of buffers to be used by IPX:
 // get number of waiting packets
 ipackets = IPXEventCountGet()
 // retrieve waiting packets
 for count = 1 to ipackets
     lpszPacket = IPXPacketGet(@wlength)
     ? "Packet Received ", lpszPacket
 next count

 Notes:

See Also: IPXBufferCountGet() / IPXBufferCountSet() IPXPacketGet() IPXEventCountGet()

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