Evgeny d552a9e848 Fix test_etcp_api: use single callback with connection check
etcp_bind uses global table - multiple binds with same ID overwrite.
Fixed by using single recv_callback that checks conn pointer:
- conn == server_conn: forward direction (client->server)
- conn == client_conn: backward direction (server->client)

Test now passes: All 100 packets transmitted in each direction.
2026-02-14 01:07:11 +03:00
2026-02-13 18:12:26 +03:00
2026-02-13 18:12:26 +03:00
2026-02-13 18:12:26 +03:00
S
Description
No description provided
GPL-3.0
486 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 64%
C++ 18%
Kotlin 9.3%
HTML 5.5%
Python 1.2%
Other 1.8%