Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lwip - error: storage size of 'server_ip' isn't known #15

Closed
feelfreelinux opened this issue Sep 17, 2016 · 2 comments
Closed

Lwip - error: storage size of 'server_ip' isn't known #15

feelfreelinux opened this issue Sep 17, 2016 · 2 comments

Comments

@feelfreelinux
Copy link

feelfreelinux commented Sep 17, 2016

Hi. I'm trying to setup tcp server on esp32. But, when i'm defining struct ip_addr server_ip; i got error:

error: storage size of 'server_ip' isn't known

I'm including lwip/tcp.h and lwip/ip_addr.h

@projectgus
Copy link
Contributor

This has been renamed to ip_addr_t in recent LWIP. Try:

ip_addr_t server_ip;

@feelfreelinux
Copy link
Author

Thanks! My mistake!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants