TCP/IP server under cpp with LPC4088

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

TCP/IP server under cpp with LPC4088

998 次查看
CSeemann
Contributor I

Hello together,

 

I try to program a TCP/IP Server with an LPC4088 under cpp and I want to use the lwip library.

When I try the c-example of the lwio lib the echo-server works fine. If I alter the example to work for cpp the mcu doesn't even get an IP from the router.

Does anyone have a solution for this or a server example that works for cpp?

 

Thank you

Chris

标签 (1)
0 项奖励
回复
1 回复

986 次查看
converse
Senior Contributor V

If you are using C++, don't forget to use extern "C" for the interrupt handlers.

https://embeddedartistry.com/blog/2017/05/01/mixing-c-and-c-extern-c/

0 项奖励
回复