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.

[参考译文] RTOS/EK-TM4C129EXL:将 HTTP 服务器和 HTTP 客户端组合在一起

Guru**** 2601915 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/745881/rtos-ek-tm4c129exl-combine-a-http-server-and-http-client

器件型号:EK-TM4C129EXL

工具/软件:TI-RTOS

您好!

我在 Code Composer 6中导入并编译了 TI 示例项目 HttpGet。
这就是我导入和编译 HTTP 服务器项目的方式。 两个项目都可以正常工作。
由于我的 HttpClient 访问网站、我想将参数传递给它。 为此、我想在 HttpGet 项目中实现 httpServer 函数。

为此、我必须更改头文件
include #include 。 但是、这会导致错误:请参阅图片

显然、文件 socket.h 会导致问题、因为该文件存在2次。 我征求建议。