Hi,

"INADDR_ANY" definitely does not match "listens to the defined IP"
statement. I do not understand exactly what you are trying to do, but it
would be good to know what is the output of "ifconfig" running from NSH.
If you do not want to share code details, maybe you can check how your
application behaves on Linux and compare to what behavior you observe with
NuttX.
Can this somehow be reproduced with one of the apps available in the NuttX
repo?

Best regards,
Petro

чт, 21 вер. 2023 р. о 03:09 Gustavo Soares <gustavo.felipesoa...@hotmail.com>
пише:

> Hello everyone!
>
>  I configured NuttX to a certain IP address and I have a webserver which
> listens to the defined IP:
>
>
>
>
>
> The HTML file above has a variable that contains the server IP address,
> but it is a different one:
>
>
>
> the server replaces the text SERVER_IP_ADDRESS to it's actual IP and then
> sends the file to the client. This is the method I used to get the IP
> address:
>
>
>
> Why is it a different IP? The server is listening to one but this method
> returns another one.
>
>

Reply via email to