NWLicenseConn(3nw)


NWLicenseConn -- licenses a connection

Synopsis

   #include <nwconnec.h> 
   

NWCCODE N_API NWLicenseConn( NWCONN_HANDLE conn);

Description

The parameters are as follows:

conn
(IN) Indicates the connectio to unlicense.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x881
HANDLE_ALREADY_LICENSED

Notices

After calling NWLicenseConn, the licensed count will be incremented; and, if necessary, the license NCP will be sent. If conn is already in a licensed state, HAREWARE_ALREADY_LICENSED is returned.

On the Mac OS, the default is to open a connection so that it is licensed. If you do not wish to create a licensed connection, you should specify the NW_OPEN_UNLICENSED flag in the NWOpenConnByAddr. For NWGetConnectionSlot, specify the GET_UNLICENSED flag.

Services

Connection

NCP calls

None
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.