TCP/IP server under cpp with LPC4088

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

TCP/IP server under cpp with LPC4088

1,006件の閲覧回数
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 返信

994件の閲覧回数
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 件の賞賛
返信