NWCCOpenConnByAddr(3nw)


NWCCOpenConnByAddr -- opens a connection using a network address

Synopsis

   #include <nwclxcon.h> 
   

N_EXTERN_LIBRARY NWRCODE NWCCOpenConnByAddr (pNWCCTranAddr tranAddr, NWCCOpenState openState, NWCONN_HANDLE N_FAR *connHandle);

Description

The parameters are as follows:

tranAddr
(IN) Points to the NWCCTranAddr structure containing the transport address to open the connection to.

openState
(IN) Specifies the state of the connection.

connHandle
(OUT) Points to the connection handle.

Return values

0x0000
SUCCESS

0x8841
NWE_TRAN_INVALID_TYPE

0x8867
NWE_INSUFFICIENT_RESOURCES

0x8869
NWE_ACCESS_VIOLATION

0x886C
NWE_RESOURCE_LOCK

0x8870
NWE_UNSUPPORTED_TRAN_TYPE

Notices

openState can have the following values:

0x0001
NWCC_OPEN_LICENSED

0x0002
NWCC_OPEN_UNLICENSED

Services

Connection


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