NWGetServerInfo
Returns the address and the number of hops to the server specified by serverName in relation to the server represented by conn .
#include <nwfse.h>
or
#include <nwcalls.h>
NWCCODE N_API NWGetServerInfo (
NWCONN_HANDLE conn,
nuint32 serverType,
const nstr8 N_FAR *serverName,
NWFSE_SERVER_INFO N_FAR *fseServerInfo);
uses calwin32
Function NWGetServerInfo
(conn : NWCONN_HANDLE;
serverType : nuint32;
const serverName : pnstr8;
Var fseServerInfo : NWFSE_SERVER_INFO
) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
To call NWGetServerInfo, you must have console operator rights to the 4.x server indicated by conn. serverType can indicate either a 3.x or 4.x server.