diff options
| author | mhilbrunner <m.hilbrunner@gmail.com> | 2018-04-12 20:36:26 +0200 |
|---|---|---|
| committer | mhilbrunner <m.hilbrunner@gmail.com> | 2018-04-13 22:31:01 +0200 |
| commit | b0826dec0542ff4d9a39d19bff953fbbb949d79b (patch) | |
| tree | d2357d449536d42ef8d7fe92a516c8d070157944 /modules/enet/networked_multiplayer_enet.h | |
| parent | ab75fae5641675a2e9c8b38c3b40231a00bb428d (diff) | |
| download | redot-engine-b0826dec0542ff4d9a39d19bff953fbbb949d79b.tar.gz | |
Add DNS resolution in NetworkedMultiplayerEnet::create_client()
Diffstat (limited to 'modules/enet/networked_multiplayer_enet.h')
| -rw-r--r-- | modules/enet/networked_multiplayer_enet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/enet/networked_multiplayer_enet.h b/modules/enet/networked_multiplayer_enet.h index 0e8dd67160..678ae24135 100644 --- a/modules/enet/networked_multiplayer_enet.h +++ b/modules/enet/networked_multiplayer_enet.h @@ -119,7 +119,7 @@ public: virtual int get_peer_port(int p_peer_id) const; Error create_server(int p_port, int p_max_clients = 32, int p_in_bandwidth = 0, int p_out_bandwidth = 0); - Error create_client(const IP_Address &p_ip, int p_port, int p_in_bandwidth = 0, int p_out_bandwidth = 0); + Error create_client(const String &p_address, int p_port, int p_in_bandwidth = 0, int p_out_bandwidth = 0); void close_connection(); |
