NWCCGetConnInfo
Returns information about the specified connection
#include <nwclxcon.h>
N_EXTERN_LIBRARY NWRCODE NWCCGetConnInfo (
NWCONN_HANDLE connHandle,
nuint infoType,
nuint len,
nptr buffer);
uses clxwin32
Function NWCCGetConnInfo
(connHandle : NWCONN_HANDLE;
infoType : nuint;
len : nuint;
buffer : nptr
) : NWRCODE;
These are common return values; see Return Values (Return Values for C) for more information.
NWCCGetConnInfo returns a single piece of connection information for the specified connection. It is important that the size of the buffer parameter is large enough to contain the requested information.
If the infoType parameter is invalid, NWE_INVALID_LEVEL will be returned. If the infoType parameter is set to NWCC_INFO_TRAN_ADDR, NWCCGetConnInfo will use the NWCCTranAddr structure (see Section 5.4, infoType Parameter Values).
NOTE:Do not pass NWCC_INFO_RETURN_ALL for the infoType parameter. NWCCGetConnInfo fails on that value and returns NWE_INVALID_LEVEL. To obtain all information about a connection, call NWCCGetAllConnInfo.
See