Jump to main content

##

# TCPIP_FTPC_CTRL_EVENT_CALLBACK_TYPE Type

## C

    typedef void (* TCPIP_FTPC_CTRL_EVENT_CALLBACK_TYPE)(TCPIP_FTPC_CONN_HANDLE_TYPE ftpcHandle, TCPIP_FTPC_CTRL_EVENT_TYPE ftpcEvent, TCPIP_FTPC_CMD cmd, char * ctrlbuff, uint16_t ctrllen);

## Description

Type: TCPIP_FTPC_CTRL_EVENT_CALLBACK_TYPE Data type describing a function that will be called by the FTPC module upon control socket events FTPC will parse and process the FTP client-server control messages anyway but it can optionally pass the information to the user.

## Remarks

None

## Parameters

Parameters | Description
--- | ---
ftpcHandle | handle identifying the connection.
ftpcEvent | the control socket event
cmd | FTP Command
ctrlbuff | pointer to control socket data buffer
ctrllen | receive data length