Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- With all defaults TCP_MSS = 1024. In any case, I think you should agree, that “Ethernet frame length” is completely unrelated to “the size of the heap memory”, or “TCP Maximum segment size”, or “The size of a TCP window”. Mixing all this together misleading for user. For example, I spent last day debugging strange hangs in my code, which occurred irregularly after from 40 seconds to 1 hour of successful execution. That code doesn’t need much lwIP memory and doesn’t use TCP at all! --- Quote End --- Sorry about that! In our project, we use 64Kb as mem_size so it didn't occur to me. But I do agree with you that they are unrelated. Maybe it would be nice to add those variable to the TCL script and find some way to generate errors while generating the BSP. Any hints on howto are welcome. And again, sorry for your waste of time!