GetLANAddress

Returns the 6-byte node address of a LAN board installed in a server

Local Servers:nonblocking
Remote Servers:blocking
Classification:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Service:Server-Based Connection

Syntax

  #include <nwconn.h>  
   
  int GetLANAddress (  
     LONG    boardNumber,  
     BYTE   *nodeAddress); 
  

Parameters

boardNumber
(IN) Specifies the number of the LAN board for which the node address is desired. LAN board numbering begins with 1.
nodeAddress
(OUT) Receives the 6-byte node address of the selected LAN board.

Return Values

This function returns a value of 0 if successful. Otherwise, it returns a nonzero value.

Remarks

This function returns the 6-byte LAN address for the selected board for the current connection ID (current server).

See Also

GetInternetAddress, IpxGetInternetworkAddress (NLM)