This commit is contained in:
2026-05-15 12:23:07 +02:00
parent 361ac73e45
commit ad339dc696
4 changed files with 167 additions and 60 deletions

View File

@@ -3,6 +3,7 @@
#include <arpa/inet.h>
#include <stddef.h>
#include <stdint.h>
#include <constants.h>
#include <tcpd/tcpconnection.h>
@@ -13,6 +14,7 @@ typedef struct {
void (*on_data)(tcp_connection_t* conn);
void (*on_disconnect)(tcp_connection_t* conn);
void* owner;
uint64_t peerBlockHeight;
} tcp_client_t;
int TcpClient_Init(tcp_client_t* client);