Jump to main content

##

# TCPIP_FTPC_STATUS_TYPE Structure

## C

    C
    typedef struct {
        NET_PRES_SKT_HANDLE_T ctrlSocket;
        NET_PRES_SKT_HANDLE_T dataSocket;
        TCPIP_FTPC_CMD cmd;
        TCPIP_FTPC_ERROR_TYPE error;
        uint32_t dataRxLen;
        uint32_t dataTxLen;
        uint16_t ctrlRxLen;
        uint16_t ctrlTxLen;
        bool busy;
        bool isConnected;
        bool isLoggedIn;
    } TCPIP_FTPC_STATUS_TYPE;

## Members

Members | Description
--- | ---
NET_PRES_SKT_HANDLE_T ctrlSocket; | control socket
NET_PRES_SKT_HANDLE_T dataSocket; | data socket
TCPIP_FTPC_CMD cmd; | currently executing or completed command
TCPIP_FTPC_ERROR_TYPE error; | last reported error, if any
uint32_t dataRxLen; | Data Socket receive length
uint32_t dataTxLen; | Data Socket transmit length
uint16_t ctrlRxLen; | Control Socket receive length
uint16_t ctrlTxLen; | Control Socket transmit length
bool busy; | client busy/ready
bool isConnected; | client control socket connected to server
bool isLoggedIn; | client logged in to server

## Description

Structure: TCPIP_FTPC_STATUS_TYPE This data structure describes the details of FTPC errors.

## Remarks

None