Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - n_netaddr( <nstation> [, <cserver> ] ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_NETADDR( <nStation> [, <cServer> ] )


Parameters

<nStation>
Logical station number (1-255).

<cServer>
Server name. The current station must be attached to the server.


Returns

Network address as a 24-digit hexadecimal string. If the station cannot
be found, or if one or more arguments is invalid, the function will
return a blank string.


Description

Returns the unique network address of a station on the internet. The 
address is a hexadecimal number formed by concatenating network number 
(first eight digits), physical station number (next twelve), and socket 
number (last four).

Note   A 12-digit physical station number is also returned by 
N_ADDR(), but the address is for a station on the current server. This, 
of course, is insufficient for addressing stations on a multi-server 
network or internetwork.


Example

// Send an IPX message to station 8 on file server 2.
N_IPXSEND(N_NETADDR( 8, 'FS2'), 'Who are you?')




See Also: N_SPXSTATUS() N_WHOAREYOU()

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