Eclipse ThreadX - NetXDuo is an advanced, industrial-grade TCP/IP network stack designed specifically for deeply embedded real-time and IoT applications
In case of sequence of calls passing the same ftp_client the last nx_ftp_client_create() return error:
nx_ftp_client_create(&ftp_client, .....);
....
nx_ftp_client_delete(&ftp_client, .....);
....
nx_ftp_client_create(&ftp_client, .....);
This seems to happen because the nx_ftp_client_delete() do not cleanup the FTP client control block (in particular the ftp_client.nx_ftp_client_id field)
Thanks, regards
In case of sequence of calls passing the same ftp_client the last nx_ftp_client_create() return error: nx_ftp_client_create(&ftp_client, .....); .... nx_ftp_client_delete(&ftp_client, .....); .... nx_ftp_client_create(&ftp_client, .....); This seems to happen because the nx_ftp_client_delete() do not cleanup the FTP client control block (in particular the ftp_client.nx_ftp_client_id field) Thanks, regards