TCP/IP server under cpp with LPC4088

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TCP/IP server under cpp with LPC4088

692 Views
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

Labels (1)
0 Kudos
Reply
1 Reply

680 Views
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 Kudos
Reply