This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Starterware/AM3351:我正在使用 lwip lib 构建 FTP 服务器。 但 tcp_connect()回调函数问题

Guru**** 2558440 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/612059/starterware-am3351-i-am-using-lwip-lib-and-building-a-ftp-server-but-tcp_connect-call-back-function-problem

器件型号:AM3351

工具/软件:Starterware

我正在使用 lwip lib 并构建 FTP 服务器。 但是,永远不会调用 tcp_connect()回调函数,因此,我无法执行 tcp_connect() POST 任务。 我阅读了一些文章,人们在这些文章中提到我需要定期调用 sys_check_timeouts()函数。 因此问题是 sys_check_timeouts()函数正在调用尚未实现的 sys_now ()。  

在这里,sys_now ()提供的是当前时间或等效的时间。 我的问题是如何实现返回当前时间的函数?