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> wsnetadrget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 WSNetAdrGet()
------------------------------------------------------------------------------
 Purpose:
 Get a workstation's network segment address.

 Syntax:
 lpszAddress = WSNetAdrGet( iConnNum )

 Parameters:
 iConnNum The connection number.

 Returns:
 A character string of length 8.

 Description:
 WSNetAdrGet() returns a character string containing the hexadecimal
 network number to which the workstation is connected. iConnNum is the
 connection number of the workstation for which to return the network
 address. If the constant NOVDEFINT is passed as iConnNum WSNetAdrGet()
 assumes the calling workstation.

 Returns an empty string if an error occurs.

 Example:
 // To display the network number of the current workstation:
 lpszCurrNumber = WSNetAdrGet( NOVDEFINT )
 if ( !empty ( lpszCurrNumber ) )
    ? "Current workstation number is", lpszCurrNumber
 endif

See Also: WSNdeAdrGet()

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