Evgeny
150e9977df
stcp: unified transport — etcp_send/bind over TCP via stcp_link
- stcp_link.h/c: manage TCP connections through STCP protocol
stcp_server_listen, stcp_link_connect/send/close
rx dispatch goes directly through inst->api_bindings (single table)
- etcp_api.c: etcp_send checks conn->transport_link for TCP path
etcp_bind stores only in api_bindings (no duplication)
- etcp_connections.c: init_sockets creates stcp_server for TCP
init_connections creates stcp_link_connect for TCP clients
tcp_server_on_link creates minimal ETCP_CONN + fires callbacks
- etcp.h: ETCP_CONN.transport_link field (NULL for UDP, set for TCP)
- config_parser: CFG_SERVER.transport field, parsing transport=tcp|udp
- utun_instance.h: struct stcp_server*
- Tests: test_stcp_link (handshake, wrong key)
test_etcp_stcp (etcp_send/bind over TCP)
- Renamed: transport.h/c → stcp_link.h/c (cleaner, no bindings table)
- 46/46 tests pass
2026-06-16 01:19:58 +03:00
..
2026-06-11 13:16:48 +03:00
2026-06-03 10:36:55 +03:00
2026-05-29 01:11:37 +03:00
2026-04-21 19:06:45 +03:00
2026-06-16 01:19:58 +03:00
2026-01-28 19:56:38 +03:00
2026-02-15 13:25:05 +03:00
2026-05-10 00:44:59 +03:00
2026-03-25 22:49:57 +03:00
2026-02-02 10:57:36 +03:00
2026-05-12 13:42:16 +03:00
2026-04-24 00:16:30 +03:00
2026-05-13 12:38:20 +03:00
2026-06-03 02:06:09 +03:00
2026-06-09 22:20:25 +03:00
2026-05-10 19:03:42 +03:00
2026-06-09 22:20:25 +03:00
2026-03-06 01:36:57 +03:00
2026-04-24 00:16:30 +03:00
2026-06-09 19:35:06 +03:00
2026-06-09 22:20:25 +03:00
2026-06-04 12:01:55 +03:00
2026-06-04 12:01:55 +03:00
2026-04-27 12:43:52 +03:00
2026-06-16 01:19:58 +03:00
2026-04-27 12:43:52 +03:00
2026-06-02 18:02:37 +03:00
2026-06-09 22:20:25 +03:00
2026-05-10 00:34:28 +03:00
2026-06-09 22:20:25 +03:00
2026-05-30 01:39:34 +03:00
2026-06-02 21:05:06 +03:00
2026-04-25 18:41:45 +03:00
2026-05-10 00:49:46 +03:00
2026-05-10 00:49:46 +03:00
2026-06-04 12:01:55 +03:00
2026-03-06 01:36:57 +03:00
2026-04-27 12:43:52 +03:00
2026-06-09 22:20:25 +03:00
2026-05-10 00:34:28 +03:00
2026-05-10 00:34:28 +03:00
2026-05-10 00:49:46 +03:00
2026-04-25 18:41:45 +03:00
2026-04-14 02:03:59 +03:00
2026-06-16 01:19:58 +03:00
2026-06-14 10:00:02 +03:00
2026-06-14 10:00:02 +03:00
2026-01-21 18:18:32 +03:00
2026-06-11 13:16:48 +03:00
2026-06-02 18:02:37 +03:00
2026-06-02 18:02:37 +03:00
2026-06-11 13:16:48 +03:00
2026-06-03 16:24:46 +03:00
2026-04-26 00:17:32 +03:00
2026-05-13 12:38:20 +03:00
2026-06-02 18:02:37 +03:00
2026-02-15 04:24:46 +03:00
2026-01-28 19:56:38 +03:00