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

 Syntax:
 ipackets = IPXEvtCntGet()

 Parameters:
 None.

 Returns:
 an integer value.

 Description:
 IPXEvtCntGet() 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 = IPXEvtCntGet()
 // retrieve waiting packets
 for count = 1 to ipackets
     lpszPacket = IPXPktGet(@wlength)
     ? "Packet Received ", lpszPacket
 next count

 Notes:

See Also: IPXBufCntGet() / IPXBufCntSet() IPXPktGet()

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