NWGetKnownServersInfo
Returns information about servers advertising themselves to the server with SAP packets.
#include <nwfse.h> or #include <nwcalls.h> NWCCODE N_API NWGetKnownServersInfo (NWCONN_HANDLE conn, nuint32 startNum, nuint32 serverType, NWFSE_KNOWN_SERVER_INFO N_FAR *fseKnownServerInfo);
uses calwin32 Function NWGetKnownServersInfo (conn : NWCONN_HANDLE; startNum : nuint32; serverType : nuint32; Var fseKnownServerInfo : NWFSE_KNOWN_SERVER_INFO ) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
To call NWGetKnownServersInfo, you must have console operator rights.
startNum should be set to zero on the first call. On subsequent calls, the value returned in the numberOfEntries field in the SERVER_AND_VCONSOLE_INFO structure should be added to the value in startNum until INVALID_CONNECTION is returned.