ISCSI_CONNECTION_INFOA structure (iscsidsc.h)

The ISCSI_CONNECTION_INFO structure contains information about a connection.

Syntax

typedef struct {
  ISCSI_UNIQUE_CONNECTION_ID ConnectionId;
  PCHAR                      InitiatorAddress;
  PCHAR                      TargetAddress;
  USHORT                     InitiatorSocket;
  USHORT                     TargetSocket;
  UCHAR                      CID[2];
} ISCSI_CONNECTION_INFOA, *PISCSI_CONNECTION_INFOA;

Members

ConnectionId

A ISCSI_UNIQUE_CONNECTION_ID structure that contains the unique identifier for a connection. The LoginIScsiTarget and AddIScsiConnection functions return this value via the UniqueConnectionId parameter.

InitiatorAddress

A string that represents the IP address of the initiator.

TargetAddress

A string that represents the IP address of the target.

InitiatorSocket

The socket number on the initiator that establishes the connection.

TargetSocket

The socket number on the target that establishes the connection.

CID

The connection identifier for the connection.

Remarks

Note

The iscsidsc.h header defines ISCSI_CONNECTION_INFO as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header iscsidsc.h

See also

ISCSI_UNIQUE_CONNECTION_ID