NWCCGetConnRefAddressLength(3nw)


NWCCGetConnRefAddressLengt -- returns the length of the connection address for the specified connection reference

Synopsis

   #include <nwclxcon.h> 
   

N_EXTERN_LIBRARY NWRCODE NWCCGetConnRefAddressLength (nuint32 connRef, pnuint32 addrLen);

Description

The parameters are as follows:

connRef
(IN) Specifies the connection reference 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

0x880E
NWE_BUFFER_OVERFLOW

0x8864
NWE_INVALID_MATCH_DATA

0x8865
NWE_MATCH_FAILED

0x8866
NWE_NO_MORE_ENTRIES

0x8868
NWE_STRING_TRANSLATION

0x8869
NWE_ACCESS_VIOLATION

0x886B
NWE_INVALID_LEVEL

0x886C
NWE_RESOURCE_LOCK

Notices

NWCCGetConnRefAddressLength 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.