NWCCGetConnAddressLength(3nw)


NWCCGetConnAddressLength -- returns the length of the connection address for the specified connection

Synopsis

   #include <nwclxcon.h> 
   

N_EXTERN_LIBRARY NWRCODE NWCCGetConnAddressLength (NWCONN_HANDLE connHandle, pnuint32 addrLen);

Description

The parameters are as follows:

connHandle
(IN) Specifies the connection for which to return the connection address length.

addrLen
(OUT) Points to the length of the connection address.

Return values

0x0000
SUCCESS

0x8801
NWE_CONN_INVALID

0x8868
NWE_STRING_TRANSLATION

0x8869
NWE_ACCESS_VIOLATION

Notices

NWCCGetConnAddressLength returns the length of the connection address in bytes. addrLen should be used to allocate a buffer to pass into NWGetConnAddress or NWGetConnRefAddress.

Services

Connection


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