NWCCGetPrefServerName(3nw)
NWCCGetPrefServerName --
returns the name from the PREFERRED SERVER parameter
Synopsis
#include <nwclxcon.h>
N_EXTERN_LIBRARY NWRCODE NWCCGetPrefServerName
(nuint len,
pnstr prefServer);
Description
The parameters are as follows:
- len
-
(IN) Specifies the length of the prefered server string.
- prefServer
-
(OUT) Points to a string containing the preferred server name.
Return values
- 0x0000
-
SUCCESS
Notices
The PREFERRED SERVER parameter is read from the NET.CFG and is used by the requester to determine which server to attempt to connect to when no other connections are established,
such as during the load process of the requester.
Services
Connection
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.