Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - <u>it is not necessary to use n_attach() with this version of netlib </u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
It is not necessary to use N_ATTACH() with this version of NetLib 
because the process of attaching to a server is now done when N_LOGIN() 
is called. Though superseded, N_ATTACH() has been retained in the 
library to maintain compatibility with earlier versions of NetLib. 
Future versions may not retain N_ATTACH(), so please take this 
opportunity to cease using N_ATTACH() in your code.

Syntax

N_ATTACH( <cServer> )


Parameters

<cServer>
Server name.


Returns

Server connection number. If the attempt is unsuccessful, the function 
will return zero.


Description

This function enables you to attach to a server, if necessary.

Note  NetWare permits a station to be attached to up to eight 
servers simultaneously. If the station is already attached to eight 
servers, it will be necessary to detach from one before attaching to a 
new server.

If the attempt succeeds, the specified server becomes the currently 
selected server. If it is unsuccessful, the current server remains 
unchanged.

Attempting to attach to a server that is already attached has no affect 
except to return the server's connection number.



See Also: N_LOGIN()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson