tcp port send stdio

This commit is contained in:
Adolfo Reyna
2025-12-10 14:11:45 -05:00
parent eb0156bb9d
commit 9f53148583
5 changed files with 164 additions and 3 deletions

13
tcp_debug.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef TCP_DEBUG_H
#define TCP_DEBUG_H
#include <stdbool.h>
/**
* Initializes the TCP debug server on port 4242.
* Registers a stdio driver that redirects printf output to connected TCP clients.
* Returns true on success.
*/
bool tcp_debug_init(void);
#endif