projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do actual domain resolution
[carveJwlIkooP6JGAAIwe30JlM.git]
/
network.h
diff --git
a/network.h
b/network.h
index bf2ccf8983fd88897863a0a85fac2a710a24b206..4bd5a37ddcc6dbcad21e9b0022c60c8ed17e8199 100644
(file)
--- a/
network.h
+++ b/
network.h
@@
-62,7
+62,9
@@
struct network_client
*request_buffer;
vg_pool request_pool;
*request_buffer;
vg_pool request_pool;
- char server_adress[64];
+ SteamNetworkingIPAddr ip;
+ char host_port[8], host_adress[256];
+ bool ip_resolved;
enum server_intent {
k_server_intent_offline,
enum server_intent {
k_server_intent_offline,
@@
-85,6
+87,7
@@
void chat_send_message( const char *message );
void render_server_status_gui(void);
void network_status_string( vg_str *str, u32 *colour );
void network_send_region(void);
void render_server_status_gui(void);
void network_status_string( vg_str *str, u32 *colour );
void network_send_region(void);
+void network_set_host( const char *host_str, const char *port_str );
static inline int network_connected(void)
{
static inline int network_connected(void)
{