Skip to main content
Visitor II
November 5, 2025
Question

TCP Server Client Configuration using LwIP

  • November 5, 2025
  • 2 replies
  • 288 views

Hi friends ,

I need to make a TCP Server client in my STM32F769NIH6 board using LWIP. I referred many documents but so far it have led me to nowhere. Does any of you knowhow to do it, in that case tell me the steps. 

    This topic has been closed for replies.

    2 replies

    Graduate
    November 5, 2025

    Hi,

    You can use the Mongoose Networking Library. It's a high-level networking library designed to run on top of TCP/IP stacks like lwIP and greatly simplifies creating network applications like a TCP server or client. Its API is well documented here, along with many examples of how to use it.

    To integrate Mongoose with LwIP on your board, you can start from either of these sources:

    • STM32F746 Example Project: This is a complete CubeIDE project running a web server on lwIP + FreeRTOS. I know your board is the F769, but the F746 is very similar, so you can use the .ioc file and the overall project structure as a known-good starting point.
    • Mongoose + lwIP Integration Guide: This guide provides the step-by-step instructions for setting up a project like this from scratch in CubeIDE.

    Using these, you can get a simple webserver application running, which is a great way to verify your setup, and then easily adapt it to what your TCP server/client actually needs.

    Heads up: I am part of the Mongoose development team. Hope this helps you get started.

    Super User
    November 5, 2025

    @Hariprasad_Horrid wrote:

    I need to make a TCP Server client  


    Not sure what you mean by that - do you want to make a Server, or a Client ?