Legacy Networking | Loopback sample server-client connection refused (#27)
Trac Migrate (@tracmigrate)
gitlab at rtems.org
Thu Jul 2 18:31:50 UTC 2026
Issue created by Trac Migrate: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/work_items/27
Assignee: Trac Migrate
Original author: dsabogal
It looks like the loopback sample launches a server and a client task at the same time. Every time I've ran this sample, the client would attempt to connect to the server before the server binded its socket. This results in the one-client test failing.
Placing a wait call just after starting the server fixes this issue.
RTEMS 4.11
CPU ARM Cortex-A9
BSP Xilinx Zynq A9 QEMU
Toolchain from rtems-source-builder 4.11
../rtems/configure --target=arm-rtems4.11 \
--enable-rtemsbsp="xilinx_zynq_a9_qemu" \
--enable-tests=samples \
--enable-posix \
--prefix=$HOME/development/rtems/4.11
* [loopback.patch](/assets/tracmigration/ticket_attachments/loopback.patch)
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/work_items/27
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-cmjrlne8n1kk1zq1sxznw88ix-l/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260702/5a51480a/attachment.htm>
More information about the bugs
mailing list