eco2d/code/apps/client/header/network.h

12 lines
317 B
C

#pragma once
#include "system.h"
int32_t network_init(void);
int32_t network_destroy(void);
int32_t network_client_connect(const char *host, uint16_t port);
int32_t network_client_disconnect(void);
int32_t network_client_tick(void);
void network_client_update(void *data);
bool network_client_is_connected();