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

12 lines
317 B
C
Raw Normal View History

2021-01-11 13:47:14 +00:00
#pragma once
2021-01-11 20:08:16 +00:00
#include "system.h"
2021-01-17 07:30:59 +00:00
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();