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> ipxsktnumget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 IPXSktNumGet()
------------------------------------------------------------------------------
 Purpose:
 Get the current IPX listening socket number.

 Syntax:
 iSocket = IPXSktNumGet()

 Parameters:
 None.

 Returns:
 A numeric value (unsigned short int)

 Description:
 IPXSktNumGet() returns the number of the IPX socket that is being
 used to listen for incoming packets by the function IPXSktOpn(). By
 default the socket number used by IPX to listen is 21845 (0x5555).

 Returns 0 if no socket is open.

 Example:
 // To find out which socket number IPXSktOpn() is using to
 // listen for incoming packets from another workstation:
 if( ( iSocketNumber = IPXSktNumGet() ) > 0 )
    ? " IPXSktOpn() is listening for incoming packets"
    ? "on socket number", iSocketNumber
 else
    ? " IPXSktOpn() is NOT listening for incoming packets"
 endif

See Also: IPXInstalled() IPXSktOpn() IPXPktGet() IPXPktSnd()

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