[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_INETADD()
GetInternetAddress
------------------------------------------------------------------------------
Syntax
fn_inetAdd( [ <nConnectionNo> ] ) -> aAddress
Arguments
<nConnectionNo> is the Logical Connection Number that you are
interested in. If omitted, the requesting workstation's address
is returned.
Returns
A 3 element array containing the following address information:
Position Description Data Type/Length
--------------------------------------------------
1 Network Number Character/ 8
2 Physical Node Address Character/ 12
3 Socket Number Character/ 4
Description
This function returns a connection's internetwork address. The
values are in hexidecimal, and left padded with "0"s.
Examples
aINet := fn_inetAdd( ) // GetInternetAddress
? 'Internet Address is '
?? aINet[ 1 ] + ":" // Network number
?? aINet[ 2 ] + ":" // Physical Node Address
?? aINet[ 3 ] // Socket Number
Source: N:\SRC\CONNWS\ADDR.PRG
Author: Steve Larsen
See Also:
fn_ConnInf()
fn_staAddr()
fn_connNum()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson