NWAttachToFileServer
Attaches to the specified NetWare server.
#include <nwserver.h>
or
#include <nwcalls.h>
NWCCODE N_API NWAttachToFileServer (
const nstr8 N_FAR *serverName,
nuint16 scopeFlag,
NWCONN_HANDLE N_FAR *newConnID);
uses calwin32
Function NWAttachToFileServer
(const serverName : pnstr8;
scopeFlag : nuint16;
Var newConnID : NWCONN_HANDLE
) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
WARNING:Before attaching to the specified server, NWAttachToFileServer tries to get the server’s net address from the default server’s Bindery.
NO_RESPONSE_FROM_SERVER will be returned if RIP traffic is filtered on a router but SAP traffic is not. The dynamic object can be read from the bindery, but the request to attach to a server cannot be routed