Ubuntu Manpages

iscsi_session_port_get

Retrieve iSCSI target port of specified session

int32_t iscsi_session_port_get (struct iscsi_session *se);

Pointer of 'struct iscsi_session'. If this pointer is NULL, your program will be terminated by assert.

Retrieve the iSCSI target port of specified iSCSI session.

int32_t. -1 if not supported.