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

Add a configurable number of TCP streams #27

Merged
merged 1 commit into from
Nov 2, 2015

Conversation

bremoran
Copy link
Contributor

@bremoran bremoran commented Nov 2, 2015

Use yotta config to define the number of TCP PCBs to allocate

Use yotta config to define the number of TCP PCBs to allocate
@bremoran
Copy link
Contributor Author

bremoran commented Nov 2, 2015

cc @bogdanm

@bremoran
Copy link
Contributor Author

bremoran commented Nov 2, 2015

Fixes ARMmbed/sockets#34

#define MEMP_NUM_TCP_PCB 4
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only thing I might change here is to add a #warning on the default case (4 streams) rather than defining it silently. But that's not mandatory, so +1.

@bremoran
Copy link
Contributor Author

bremoran commented Nov 2, 2015

@bogdanm I don't think that adding a warning here is necessarily a good idea. I do think, however, that this behaviour should be documented.

bremoran added a commit that referenced this pull request Nov 2, 2015
Add a configurable number of TCP streams
@bremoran bremoran merged commit f1c9178 into ARMmbed:master Nov 2, 2015
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

Successfully merging this pull request may close these issues.

2 participants