stm32h563 Azure RTOS Netx Multihome Support

Eren Akyol 0 Reputation points
2024-02-01T08:30:24.62+00:00

Hello, I have created and executed a TCP server project with Azure NetX library using Ethernet. Additionally, I need multihome support in this project. I want multiple clients to connect to a device with a single IP. Can you assist me with this?

status = _nx_ip_interface_attach(&ip_0, "port_2", IP_ADDRESS(0, 0, 0,0), 0xFFFFFF00UL, my_netx_driver);

Function is not working. You can look at the https://learn.microsoft.com/en-us/azure/rtos/netx/netx-dhcp-client/chapter2

Best regards, Eren Akyol

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
333 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Eren Akyol 0 Reputation points
    2024-06-23T15:22:27.4166667+00:00

    Hello,

    I couldn't run the code you provided. In fact, I'm not sure about the problem itself. In my project, I have a TCP/IP server application running. My main problem is that only one client can connect to the same IP and port at the same time. My project requirement is that multiple clients should be able to send queries to the same IP and port. I can achieve this structure with LWIP, but I couldn't set up the same structure with Azure RTOS NetX. One client works without a problem, but multiple clients cannot send queries. What can we do about this? Is there another community that can solve this problem?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.