This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2431: How to change the snd buf size in LWIP?

Part Number: AM2431

Tool/software:

I am using SDK8.3.0 (It is currently difficult for us to upgrade to the latest SDK version.)

I want to change the SO_SNDBUF, but it is not implemented.

I'd like to confirm that:

To achieve the functionality of SO_SNDBUF, can modifying TCP_SND_BUF achieve the same effect?

if not, can you give some advice to achieve the same effect?

  • Hi ,

    Thanks for your query.

    Will check on this and get back to you.

    Regards

    Ashwani

  • Hi ,

    Yes, the SO_SNDBUF is not implemented in the LwIP as of now.
    You can set the value of TCP_SND_BUF to achieve similar results, but it is a compile time configuration, and this will be applicable globally. So, if any other applications have conflicting requirements, it has to be a trade-off. 

    Although, there are implementations of SO_SNDBUF available in LwIP forums if you are interested to give it a try. This has not been tested internally in TI. So, we don't have assurance about its stability.

    Best Regards,
    Teja.