diff options
author | Daniel Campora <daniel@wipy.io> | 2015-05-23 19:56:22 +0200 |
---|---|---|
committer | Daniel Campora <daniel@wipy.io> | 2015-05-24 11:44:06 +0200 |
commit | 9f8c5456befbf33cf8e02de99b6b9f5a417f006a (patch) | |
tree | dc1339e90c801a2361dd19b0a3b4430a930a1ae5 /cc3200/ftp/ftp.h | |
parent | 0d31bbc7fa3bdf10a14d92bb010a5016dc6101af (diff) | |
download | micropython-9f8c5456befbf33cf8e02de99b6b9f5a417f006a.tar.gz micropython-9f8c5456befbf33cf8e02de99b6b9f5a417f006a.zip |
cc3200: Reset the servers and close user sockets on WLAN disconection.
This is needed to avoid half-open connections.
Diffstat (limited to 'cc3200/ftp/ftp.h')
-rw-r--r-- | cc3200/ftp/ftp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc3200/ftp/ftp.h b/cc3200/ftp/ftp.h index 14f07e0df7..13b044dcfa 100644 --- a/cc3200/ftp/ftp.h +++ b/cc3200/ftp/ftp.h @@ -34,5 +34,6 @@ extern void ftp_init (void); extern void ftp_run (void); extern void ftp_enable (void); extern void ftp_disable (void); +extern void ftp_reset (void); #endif /* FTP_H_ */ |