eclipse-threadx / netxduo

Eclipse ThreadX - NetXDuo is an advanced, industrial-grade TCP/IP network stack designed specifically for deeply embedded real-time and IoT applications
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/netx-duo/index.md
MIT License
230 stars 131 forks source link

BSD socket create failed! #256

Open fspiot opened 3 months ago

fspiot commented 3 months ago

When I use the example(demo_bsd_tcp.c) provided by the project, creating a socket fails every time. So we debug the code and find this code (status = tx_mutex_get(nx_bsd_protection_ptr, NX_BSD_TIMEOUT);)always return ox1c and nx_bsd_protection_ptr is 0x00; 8